Open Context Protocol is live! 🚀 Read the launch post

reposUpdate

Update a repository

Details

  • Method: PATCH
  • Path: /repos/{owner}/{repo}
  • Operation ID: repos/update

Parameters

{
  "owner": {
    "description": "The account owner of the repository. The name is not case sensitive.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "repo": {
    "description": "The name of the repository without the `.git` extension. The name is not case sensitive.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "name": {
    "description": "The name of the repository.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "description": {
    "description": "A short description of the repository.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "homepage": {
    "description": "A URL with more information about the repository.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "private": {
    "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`.  \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "visibility": {
    "description": "The visibility of the repository.",
    "required": false,
    "location": "body",
    "type": "string",
    "enum": [
      "public",
      "private"
    ]
  },
  "security_and_analysis": {
    "description": "Specify which security and analysis features to enable or disable for the repository.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nFor example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:\n`{ \"security_and_analysis\": {\"advanced_security\": { \"status\": \"enabled\" } } }`.\n\nYou can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.",
    "required": false,
    "location": "body",
    "type": "object"
  },
  "has_issues": {
    "description": "Either `true` to enable issues for this repository or `false` to disable them.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "has_projects": {
    "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "has_wiki": {
    "description": "Either `true` to enable the wiki for this repository or `false` to disable it.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "is_template": {
    "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "default_branch": {
    "description": "Updates the default branch for this repository.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "allow_squash_merge": {
    "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "allow_merge_commit": {
    "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "allow_rebase_merge": {
    "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "allow_auto_merge": {
    "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "delete_branch_on_merge": {
    "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "allow_update_branch": {
    "description": "Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "use_squash_pr_title_as_default": {
    "description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property is closing down. Please use `squash_merge_commit_title` instead.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "squash_merge_commit_title": {
    "description": "Required when using `squash_merge_commit_message`.\n\nThe default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).",
    "required": false,
    "location": "body",
    "type": "string",
    "enum": [
      "PR_TITLE",
      "COMMIT_OR_PR_TITLE"
    ]
  },
  "squash_merge_commit_message": {
    "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.",
    "required": false,
    "location": "body",
    "type": "string",
    "enum": [
      "PR_BODY",
      "COMMIT_MESSAGES",
      "BLANK"
    ]
  },
  "merge_commit_title": {
    "description": "Required when using `merge_commit_message`.\n\nThe default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).",
    "required": false,
    "location": "body",
    "type": "string",
    "enum": [
      "PR_TITLE",
      "MERGE_MESSAGE"
    ]
  },
  "merge_commit_message": {
    "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.",
    "required": false,
    "location": "body",
    "type": "string",
    "enum": [
      "PR_BODY",
      "PR_TITLE",
      "BLANK"
    ]
  },
  "archived": {
    "description": "Whether to archive this repository. `false` will unarchive a previously archived repository.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "allow_forking": {
    "description": "Either `true` to allow private forks, or `false` to prevent private forks.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "web_commit_signoff_required": {
    "description": "Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.",
    "required": false,
    "location": "body",
    "type": "boolean"
  }
}

Response Schema

{
  "title": "Full Repository",
  "description": "Full Repository",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "example": 1296269
    },
    "node_id": {
      "type": "string",
      "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
    },
    "name": {
      "type": "string",
      "example": "Hello-World"
    },
    "full_name": {
      "type": "string",
      "example": "octocat/Hello-World"
    },
    "owner": {
      "title": "Simple User",
      "description": "A GitHub user.",
      "type": "object",
      "properties": {
        "name": {
          "nullable": true,
          "type": "string"
        },
        "email": {
          "nullable": true,
          "type": "string"
        },
        "login": {
          "type": "string",
          "example": "octocat"
        },
        "id": {
          "type": "integer",
          "format": "int64",
          "example": 1
        },
        "node_id": {
          "type": "string",
          "example": "MDQ6VXNlcjE="
        },
        "avatar_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/images/error/octocat_happy.gif"
        },
        "gravatar_id": {
          "type": "string",
          "example": "41d064eb2195891e12d0413f63227ea7",
          "nullable": true
        },
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat"
        },
        "html_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/octocat"
        },
        "followers_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/followers"
        },
        "following_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/following{/other_user}"
        },
        "gists_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/gists{/gist_id}"
        },
        "starred_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/subscriptions"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/orgs"
        },
        "repos_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/repos"
        },
        "events_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/events{/privacy}"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/received_events"
        },
        "type": {
          "type": "string",
          "example": "User"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_at": {
          "type": "string",
          "example": "\"2020-07-09T00:17:55Z\""
        },
        "user_view_type": {
          "type": "string",
          "example": "public"
        }
      },
      "required": [
        "avatar_url",
        "events_url",
        "followers_url",
        "following_url",
        "gists_url",
        "gravatar_id",
        "html_url",
        "id",
        "node_id",
        "login",
        "organizations_url",
        "received_events_url",
        "repos_url",
        "site_admin",
        "starred_url",
        "subscriptions_url",
        "type",
        "url"
      ]
    },
    "private": {
      "type": "boolean"
    },
    "html_url": {
      "type": "string",
      "format": "uri",
      "example": "https://github.com/octocat/Hello-World"
    },
    "description": {
      "type": "string",
      "example": "This your first repo!",
      "nullable": true
    },
    "fork": {
      "type": "boolean"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "archive_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
    },
    "assignees_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
    },
    "blobs_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
    },
    "branches_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
    },
    "collaborators_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
    },
    "comments_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
    },
    "commits_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
    },
    "compare_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
    },
    "contents_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
    },
    "contributors_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
    },
    "deployments_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
    },
    "downloads_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
    },
    "events_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/events"
    },
    "forks_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/forks"
    },
    "git_commits_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
    },
    "git_refs_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
    },
    "git_tags_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
    },
    "git_url": {
      "type": "string",
      "example": "git:github.com/octocat/Hello-World.git"
    },
    "issue_comment_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
    },
    "issue_events_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
    },
    "issues_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
    },
    "keys_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
    },
    "labels_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
    },
    "languages_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/languages"
    },
    "merges_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/merges"
    },
    "milestones_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
    },
    "notifications_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
    },
    "pulls_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
    },
    "releases_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
    },
    "ssh_url": {
      "type": "string",
      "example": "git@github.com:octocat/Hello-World.git"
    },
    "stargazers_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
    },
    "statuses_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
    },
    "subscribers_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
    },
    "subscription_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
    },
    "tags_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/tags"
    },
    "teams_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/teams"
    },
    "trees_url": {
      "type": "string",
      "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
    },
    "clone_url": {
      "type": "string",
      "example": "https://github.com/octocat/Hello-World.git"
    },
    "mirror_url": {
      "type": "string",
      "format": "uri",
      "example": "git:git.example.com/octocat/Hello-World",
      "nullable": true
    },
    "hooks_url": {
      "type": "string",
      "format": "uri",
      "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
    },
    "svn_url": {
      "type": "string",
      "format": "uri",
      "example": "https://svn.github.com/octocat/Hello-World"
    },
    "homepage": {
      "type": "string",
      "format": "uri",
      "example": "https://github.com",
      "nullable": true
    },
    "language": {
      "type": "string",
      "nullable": true
    },
    "forks_count": {
      "type": "integer",
      "example": 9
    },
    "stargazers_count": {
      "type": "integer",
      "example": 80
    },
    "watchers_count": {
      "type": "integer",
      "example": 80
    },
    "size": {
      "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
      "type": "integer",
      "example": 108
    },
    "default_branch": {
      "type": "string",
      "example": "master"
    },
    "open_issues_count": {
      "type": "integer",
      "example": 0
    },
    "is_template": {
      "type": "boolean",
      "example": true
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "octocat",
        "atom",
        "electron",
        "API"
      ]
    },
    "has_issues": {
      "type": "boolean",
      "example": true
    },
    "has_projects": {
      "type": "boolean",
      "example": true
    },
    "has_wiki": {
      "type": "boolean",
      "example": true
    },
    "has_pages": {
      "type": "boolean"
    },
    "has_downloads": {
      "type": "boolean",
      "example": true
    },
    "has_discussions": {
      "type": "boolean",
      "example": true
    },
    "archived": {
      "type": "boolean"
    },
    "disabled": {
      "type": "boolean",
      "description": "Returns whether or not this repository disabled."
    },
    "visibility": {
      "description": "The repository visibility: public, private, or internal.",
      "type": "string",
      "example": "public"
    },
    "pushed_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-01-26T19:06:43Z"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-01-26T19:01:12Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-01-26T19:14:43Z"
    },
    "permissions": {
      "type": "object",
      "properties": {
        "admin": {
          "type": "boolean"
        },
        "maintain": {
          "type": "boolean"
        },
        "push": {
          "type": "boolean"
        },
        "triage": {
          "type": "boolean"
        },
        "pull": {
          "type": "boolean"
        }
      },
      "required": [
        "admin",
        "pull",
        "push"
      ]
    },
    "allow_rebase_merge": {
      "type": "boolean",
      "example": true
    },
    "template_repository": {
      "title": "Repository",
      "description": "A repository on GitHub.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Unique identifier of the repository",
          "example": 42,
          "type": "integer",
          "format": "int64"
        },
        "node_id": {
          "type": "string",
          "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
        },
        "name": {
          "description": "The name of the repository.",
          "type": "string",
          "example": "Team Environment"
        },
        "full_name": {
          "type": "string",
          "example": "octocat/Hello-World"
        },
        "license": {
          "title": "License Simple",
          "description": "License Simple",
          "type": "object",
          "properties": {
            "key": {
              "type": "string",
              "example": "mit"
            },
            "name": {
              "type": "string",
              "example": "MIT License"
            },
            "url": {
              "type": "string",
              "nullable": true,
              "format": "uri",
              "example": "https://api.github.com/licenses/mit"
            },
            "spdx_id": {
              "type": "string",
              "nullable": true,
              "example": "MIT"
            },
            "node_id": {
              "type": "string",
              "example": "MDc6TGljZW5zZW1pdA=="
            },
            "html_url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "key",
            "name",
            "url",
            "spdx_id",
            "node_id"
          ],
          "nullable": true
        },
        "forks": {
          "type": "integer"
        },
        "permissions": {
          "type": "object",
          "properties": {
            "admin": {
              "type": "boolean"
            },
            "pull": {
              "type": "boolean"
            },
            "triage": {
              "type": "boolean"
            },
            "push": {
              "type": "boolean"
            },
            "maintain": {
              "type": "boolean"
            }
          },
          "required": [
            "admin",
            "pull",
            "push"
          ]
        },
        "owner": {
          "title": "Simple User",
          "description": "A GitHub user.",
          "type": "object",
          "properties": {
            "name": {
              "nullable": true,
              "type": "string"
            },
            "email": {
              "nullable": true,
              "type": "string"
            },
            "login": {
              "type": "string",
              "example": "octocat"
            },
            "id": {
              "type": "integer",
              "format": "int64",
              "example": 1
            },
            "node_id": {
              "type": "string",
              "example": "MDQ6VXNlcjE="
            },
            "avatar_url": {
              "type": "string",
              "format": "uri",
              "example": "https://github.com/images/error/octocat_happy.gif"
            },
            "gravatar_id": {
              "type": "string",
              "example": "41d064eb2195891e12d0413f63227ea7",
              "nullable": true
            },
            "url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat"
            },
            "html_url": {
              "type": "string",
              "format": "uri",
              "example": "https://github.com/octocat"
            },
            "followers_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/followers"
            },
            "following_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/following{/other_user}"
            },
            "gists_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/gists{/gist_id}"
            },
            "starred_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
            },
            "subscriptions_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/subscriptions"
            },
            "organizations_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/orgs"
            },
            "repos_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/repos"
            },
            "events_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/events{/privacy}"
            },
            "received_events_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/received_events"
            },
            "type": {
              "type": "string",
              "example": "User"
            },
            "site_admin": {
              "type": "boolean"
            },
            "starred_at": {
              "type": "string",
              "example": "\"2020-07-09T00:17:55Z\""
            },
            "user_view_type": {
              "type": "string",
              "example": "public"
            }
          },
          "required": [
            "avatar_url",
            "events_url",
            "followers_url",
            "following_url",
            "gists_url",
            "gravatar_id",
            "html_url",
            "id",
            "node_id",
            "login",
            "organizations_url",
            "received_events_url",
            "repos_url",
            "site_admin",
            "starred_url",
            "subscriptions_url",
            "type",
            "url"
          ]
        },
        "private": {
          "description": "Whether the repository is private or public.",
          "default": false,
          "type": "boolean"
        },
        "html_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/octocat/Hello-World"
        },
        "description": {
          "type": "string",
          "example": "This your first repo!",
          "nullable": true
        },
        "fork": {
          "type": "boolean"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/repos/octocat/Hello-World"
        },
        "archive_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
        },
        "assignees_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
        },
        "blobs_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
        },
        "branches_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
        },
        "collaborators_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
        },
        "comments_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
        },
        "commits_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
        },
        "compare_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
        },
        "contents_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
        },
        "contributors_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
        },
        "deployments_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
        },
        "downloads_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
        },
        "events_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/events"
        },
        "forks_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/forks"
        },
        "git_commits_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
        },
        "git_refs_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
        },
        "git_tags_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
        },
        "git_url": {
          "type": "string",
          "example": "git:github.com/octocat/Hello-World.git"
        },
        "issue_comment_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
        },
        "issue_events_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
        },
        "issues_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
        },
        "keys_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
        },
        "labels_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
        },
        "languages_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/languages"
        },
        "merges_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/merges"
        },
        "milestones_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
        },
        "notifications_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
        },
        "pulls_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
        },
        "releases_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
        },
        "ssh_url": {
          "type": "string",
          "example": "git@github.com:octocat/Hello-World.git"
        },
        "stargazers_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
        },
        "statuses_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
        },
        "subscribers_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
        },
        "subscription_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
        },
        "tags_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/tags"
        },
        "teams_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/teams"
        },
        "trees_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
        },
        "clone_url": {
          "type": "string",
          "example": "https://github.com/octocat/Hello-World.git"
        },
        "mirror_url": {
          "type": "string",
          "format": "uri",
          "example": "git:git.example.com/octocat/Hello-World",
          "nullable": true
        },
        "hooks_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
        },
        "svn_url": {
          "type": "string",
          "format": "uri",
          "example": "https://svn.github.com/octocat/Hello-World"
        },
        "homepage": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com",
          "nullable": true
        },
        "language": {
          "type": "string",
          "nullable": true
        },
        "forks_count": {
          "type": "integer",
          "example": 9
        },
        "stargazers_count": {
          "type": "integer",
          "example": 80
        },
        "watchers_count": {
          "type": "integer",
          "example": 80
        },
        "size": {
          "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
          "type": "integer",
          "example": 108
        },
        "default_branch": {
          "description": "The default branch of the repository.",
          "type": "string",
          "example": "master"
        },
        "open_issues_count": {
          "type": "integer",
          "example": 0
        },
        "is_template": {
          "description": "Whether this repository acts as a template that can be used to generate new repositories.",
          "default": false,
          "type": "boolean",
          "example": true
        },
        "topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "has_issues": {
          "description": "Whether issues are enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_projects": {
          "description": "Whether projects are enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_wiki": {
          "description": "Whether the wiki is enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_pages": {
          "type": "boolean"
        },
        "has_downloads": {
          "description": "Whether downloads are enabled.",
          "default": true,
          "type": "boolean",
          "example": true,
          "deprecated": true
        },
        "has_discussions": {
          "description": "Whether discussions are enabled.",
          "default": false,
          "type": "boolean",
          "example": true
        },
        "archived": {
          "description": "Whether the repository is archived.",
          "default": false,
          "type": "boolean"
        },
        "disabled": {
          "type": "boolean",
          "description": "Returns whether or not this repository disabled."
        },
        "visibility": {
          "description": "The repository visibility: public, private, or internal.",
          "default": "public",
          "type": "string"
        },
        "pushed_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:06:43Z",
          "nullable": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:01:12Z",
          "nullable": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:14:43Z",
          "nullable": true
        },
        "allow_rebase_merge": {
          "description": "Whether to allow rebase merges for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "temp_clone_token": {
          "type": "string"
        },
        "allow_squash_merge": {
          "description": "Whether to allow squash merges for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "allow_auto_merge": {
          "description": "Whether to allow Auto-merge to be used on pull requests.",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "delete_branch_on_merge": {
          "description": "Whether to delete head branches when pull requests are merged",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "allow_update_branch": {
          "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "use_squash_pr_title_as_default": {
          "type": "boolean",
          "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.",
          "default": false,
          "deprecated": true
        },
        "squash_merge_commit_title": {
          "type": "string",
          "enum": [
            "PR_TITLE",
            "COMMIT_OR_PR_TITLE"
          ],
          "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
        },
        "squash_merge_commit_message": {
          "type": "string",
          "enum": [
            "PR_BODY",
            "COMMIT_MESSAGES",
            "BLANK"
          ],
          "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
        },
        "merge_commit_title": {
          "type": "string",
          "enum": [
            "PR_TITLE",
            "MERGE_MESSAGE"
          ],
          "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
        },
        "merge_commit_message": {
          "type": "string",
          "enum": [
            "PR_BODY",
            "PR_TITLE",
            "BLANK"
          ],
          "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
        },
        "allow_merge_commit": {
          "description": "Whether to allow merge commits for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "allow_forking": {
          "description": "Whether to allow forking this repo",
          "type": "boolean"
        },
        "web_commit_signoff_required": {
          "description": "Whether to require contributors to sign off on web-based commits",
          "default": false,
          "type": "boolean"
        },
        "open_issues": {
          "type": "integer"
        },
        "watchers": {
          "type": "integer"
        },
        "master_branch": {
          "type": "string"
        },
        "starred_at": {
          "type": "string",
          "example": "\"2020-07-09T00:17:42Z\""
        },
        "anonymous_access_enabled": {
          "type": "boolean",
          "description": "Whether anonymous git access is enabled for this repository"
        },
        "code_search_index_status": {
          "type": "object",
          "description": "The status of the code search index for this repository",
          "properties": {
            "lexical_search_ok": {
              "type": "boolean"
            },
            "lexical_commit_sha": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "archive_url",
        "assignees_url",
        "blobs_url",
        "branches_url",
        "collaborators_url",
        "comments_url",
        "commits_url",
        "compare_url",
        "contents_url",
        "contributors_url",
        "deployments_url",
        "description",
        "downloads_url",
        "events_url",
        "fork",
        "forks_url",
        "full_name",
        "git_commits_url",
        "git_refs_url",
        "git_tags_url",
        "hooks_url",
        "html_url",
        "id",
        "node_id",
        "issue_comment_url",
        "issue_events_url",
        "issues_url",
        "keys_url",
        "labels_url",
        "languages_url",
        "merges_url",
        "milestones_url",
        "name",
        "notifications_url",
        "owner",
        "private",
        "pulls_url",
        "releases_url",
        "stargazers_url",
        "statuses_url",
        "subscribers_url",
        "subscription_url",
        "tags_url",
        "teams_url",
        "trees_url",
        "url",
        "clone_url",
        "default_branch",
        "forks",
        "forks_count",
        "git_url",
        "has_downloads",
        "has_issues",
        "has_projects",
        "has_wiki",
        "has_pages",
        "homepage",
        "language",
        "archived",
        "disabled",
        "mirror_url",
        "open_issues",
        "open_issues_count",
        "license",
        "pushed_at",
        "size",
        "ssh_url",
        "stargazers_count",
        "svn_url",
        "watchers",
        "watchers_count",
        "created_at",
        "updated_at"
      ],
      "nullable": true
    },
    "temp_clone_token": {
      "type": "string",
      "nullable": true
    },
    "allow_squash_merge": {
      "type": "boolean",
      "example": true
    },
    "allow_auto_merge": {
      "type": "boolean",
      "example": false
    },
    "delete_branch_on_merge": {
      "type": "boolean",
      "example": false
    },
    "allow_merge_commit": {
      "type": "boolean",
      "example": true
    },
    "allow_update_branch": {
      "type": "boolean",
      "example": true
    },
    "use_squash_pr_title_as_default": {
      "type": "boolean",
      "example": false
    },
    "squash_merge_commit_title": {
      "type": "string",
      "example": "PR_TITLE",
      "enum": [
        "PR_TITLE",
        "COMMIT_OR_PR_TITLE"
      ],
      "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
    },
    "squash_merge_commit_message": {
      "type": "string",
      "example": "PR_BODY",
      "enum": [
        "PR_BODY",
        "COMMIT_MESSAGES",
        "BLANK"
      ],
      "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
    },
    "merge_commit_title": {
      "type": "string",
      "example": "PR_TITLE",
      "enum": [
        "PR_TITLE",
        "MERGE_MESSAGE"
      ],
      "description": "The default value for a merge commit title.\n\n  - `PR_TITLE` - default to the pull request's title.\n  - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
    },
    "merge_commit_message": {
      "type": "string",
      "example": "PR_BODY",
      "enum": [
        "PR_BODY",
        "PR_TITLE",
        "BLANK"
      ],
      "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
    },
    "allow_forking": {
      "type": "boolean",
      "example": true
    },
    "web_commit_signoff_required": {
      "type": "boolean",
      "example": false
    },
    "subscribers_count": {
      "type": "integer",
      "example": 42
    },
    "network_count": {
      "type": "integer",
      "example": 0
    },
    "license": {
      "title": "License Simple",
      "description": "License Simple",
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "example": "mit"
        },
        "name": {
          "type": "string",
          "example": "MIT License"
        },
        "url": {
          "type": "string",
          "nullable": true,
          "format": "uri",
          "example": "https://api.github.com/licenses/mit"
        },
        "spdx_id": {
          "type": "string",
          "nullable": true,
          "example": "MIT"
        },
        "node_id": {
          "type": "string",
          "example": "MDc6TGljZW5zZW1pdA=="
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "key",
        "name",
        "url",
        "spdx_id",
        "node_id"
      ],
      "nullable": true
    },
    "organization": {
      "title": "Simple User",
      "description": "A GitHub user.",
      "type": "object",
      "properties": {
        "name": {
          "nullable": true,
          "type": "string"
        },
        "email": {
          "nullable": true,
          "type": "string"
        },
        "login": {
          "type": "string",
          "example": "octocat"
        },
        "id": {
          "type": "integer",
          "format": "int64",
          "example": 1
        },
        "node_id": {
          "type": "string",
          "example": "MDQ6VXNlcjE="
        },
        "avatar_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/images/error/octocat_happy.gif"
        },
        "gravatar_id": {
          "type": "string",
          "example": "41d064eb2195891e12d0413f63227ea7",
          "nullable": true
        },
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat"
        },
        "html_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/octocat"
        },
        "followers_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/followers"
        },
        "following_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/following{/other_user}"
        },
        "gists_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/gists{/gist_id}"
        },
        "starred_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/subscriptions"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/orgs"
        },
        "repos_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/repos"
        },
        "events_url": {
          "type": "string",
          "example": "https://api.github.com/users/octocat/events{/privacy}"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/users/octocat/received_events"
        },
        "type": {
          "type": "string",
          "example": "User"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_at": {
          "type": "string",
          "example": "\"2020-07-09T00:17:55Z\""
        },
        "user_view_type": {
          "type": "string",
          "example": "public"
        }
      },
      "required": [
        "avatar_url",
        "events_url",
        "followers_url",
        "following_url",
        "gists_url",
        "gravatar_id",
        "html_url",
        "id",
        "node_id",
        "login",
        "organizations_url",
        "received_events_url",
        "repos_url",
        "site_admin",
        "starred_url",
        "subscriptions_url",
        "type",
        "url"
      ],
      "nullable": true
    },
    "parent": {
      "title": "Repository",
      "description": "A repository on GitHub.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Unique identifier of the repository",
          "example": 42,
          "type": "integer",
          "format": "int64"
        },
        "node_id": {
          "type": "string",
          "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
        },
        "name": {
          "description": "The name of the repository.",
          "type": "string",
          "example": "Team Environment"
        },
        "full_name": {
          "type": "string",
          "example": "octocat/Hello-World"
        },
        "license": {
          "title": "License Simple",
          "description": "License Simple",
          "type": "object",
          "properties": {
            "key": {
              "type": "string",
              "example": "mit"
            },
            "name": {
              "type": "string",
              "example": "MIT License"
            },
            "url": {
              "type": "string",
              "nullable": true,
              "format": "uri",
              "example": "https://api.github.com/licenses/mit"
            },
            "spdx_id": {
              "type": "string",
              "nullable": true,
              "example": "MIT"
            },
            "node_id": {
              "type": "string",
              "example": "MDc6TGljZW5zZW1pdA=="
            },
            "html_url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "key",
            "name",
            "url",
            "spdx_id",
            "node_id"
          ],
          "nullable": true
        },
        "forks": {
          "type": "integer"
        },
        "permissions": {
          "type": "object",
          "properties": {
            "admin": {
              "type": "boolean"
            },
            "pull": {
              "type": "boolean"
            },
            "triage": {
              "type": "boolean"
            },
            "push": {
              "type": "boolean"
            },
            "maintain": {
              "type": "boolean"
            }
          },
          "required": [
            "admin",
            "pull",
            "push"
          ]
        },
        "owner": {
          "title": "Simple User",
          "description": "A GitHub user.",
          "type": "object",
          "properties": {
            "name": {
              "nullable": true,
              "type": "string"
            },
            "email": {
              "nullable": true,
              "type": "string"
            },
            "login": {
              "type": "string",
              "example": "octocat"
            },
            "id": {
              "type": "integer",
              "format": "int64",
              "example": 1
            },
            "node_id": {
              "type": "string",
              "example": "MDQ6VXNlcjE="
            },
            "avatar_url": {
              "type": "string",
              "format": "uri",
              "example": "https://github.com/images/error/octocat_happy.gif"
            },
            "gravatar_id": {
              "type": "string",
              "example": "41d064eb2195891e12d0413f63227ea7",
              "nullable": true
            },
            "url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat"
            },
            "html_url": {
              "type": "string",
              "format": "uri",
              "example": "https://github.com/octocat"
            },
            "followers_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/followers"
            },
            "following_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/following{/other_user}"
            },
            "gists_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/gists{/gist_id}"
            },
            "starred_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
            },
            "subscriptions_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/subscriptions"
            },
            "organizations_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/orgs"
            },
            "repos_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/repos"
            },
            "events_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/events{/privacy}"
            },
            "received_events_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/received_events"
            },
            "type": {
              "type": "string",
              "example": "User"
            },
            "site_admin": {
              "type": "boolean"
            },
            "starred_at": {
              "type": "string",
              "example": "\"2020-07-09T00:17:55Z\""
            },
            "user_view_type": {
              "type": "string",
              "example": "public"
            }
          },
          "required": [
            "avatar_url",
            "events_url",
            "followers_url",
            "following_url",
            "gists_url",
            "gravatar_id",
            "html_url",
            "id",
            "node_id",
            "login",
            "organizations_url",
            "received_events_url",
            "repos_url",
            "site_admin",
            "starred_url",
            "subscriptions_url",
            "type",
            "url"
          ]
        },
        "private": {
          "description": "Whether the repository is private or public.",
          "default": false,
          "type": "boolean"
        },
        "html_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/octocat/Hello-World"
        },
        "description": {
          "type": "string",
          "example": "This your first repo!",
          "nullable": true
        },
        "fork": {
          "type": "boolean"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/repos/octocat/Hello-World"
        },
        "archive_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
        },
        "assignees_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
        },
        "blobs_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
        },
        "branches_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
        },
        "collaborators_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
        },
        "comments_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
        },
        "commits_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
        },
        "compare_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
        },
        "contents_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
        },
        "contributors_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
        },
        "deployments_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
        },
        "downloads_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
        },
        "events_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/events"
        },
        "forks_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/forks"
        },
        "git_commits_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
        },
        "git_refs_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
        },
        "git_tags_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
        },
        "git_url": {
          "type": "string",
          "example": "git:github.com/octocat/Hello-World.git"
        },
        "issue_comment_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
        },
        "issue_events_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
        },
        "issues_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
        },
        "keys_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
        },
        "labels_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
        },
        "languages_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/languages"
        },
        "merges_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/merges"
        },
        "milestones_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
        },
        "notifications_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
        },
        "pulls_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
        },
        "releases_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
        },
        "ssh_url": {
          "type": "string",
          "example": "git@github.com:octocat/Hello-World.git"
        },
        "stargazers_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
        },
        "statuses_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
        },
        "subscribers_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
        },
        "subscription_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
        },
        "tags_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/tags"
        },
        "teams_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/teams"
        },
        "trees_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
        },
        "clone_url": {
          "type": "string",
          "example": "https://github.com/octocat/Hello-World.git"
        },
        "mirror_url": {
          "type": "string",
          "format": "uri",
          "example": "git:git.example.com/octocat/Hello-World",
          "nullable": true
        },
        "hooks_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
        },
        "svn_url": {
          "type": "string",
          "format": "uri",
          "example": "https://svn.github.com/octocat/Hello-World"
        },
        "homepage": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com",
          "nullable": true
        },
        "language": {
          "type": "string",
          "nullable": true
        },
        "forks_count": {
          "type": "integer",
          "example": 9
        },
        "stargazers_count": {
          "type": "integer",
          "example": 80
        },
        "watchers_count": {
          "type": "integer",
          "example": 80
        },
        "size": {
          "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
          "type": "integer",
          "example": 108
        },
        "default_branch": {
          "description": "The default branch of the repository.",
          "type": "string",
          "example": "master"
        },
        "open_issues_count": {
          "type": "integer",
          "example": 0
        },
        "is_template": {
          "description": "Whether this repository acts as a template that can be used to generate new repositories.",
          "default": false,
          "type": "boolean",
          "example": true
        },
        "topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "has_issues": {
          "description": "Whether issues are enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_projects": {
          "description": "Whether projects are enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_wiki": {
          "description": "Whether the wiki is enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_pages": {
          "type": "boolean"
        },
        "has_downloads": {
          "description": "Whether downloads are enabled.",
          "default": true,
          "type": "boolean",
          "example": true,
          "deprecated": true
        },
        "has_discussions": {
          "description": "Whether discussions are enabled.",
          "default": false,
          "type": "boolean",
          "example": true
        },
        "archived": {
          "description": "Whether the repository is archived.",
          "default": false,
          "type": "boolean"
        },
        "disabled": {
          "type": "boolean",
          "description": "Returns whether or not this repository disabled."
        },
        "visibility": {
          "description": "The repository visibility: public, private, or internal.",
          "default": "public",
          "type": "string"
        },
        "pushed_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:06:43Z",
          "nullable": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:01:12Z",
          "nullable": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:14:43Z",
          "nullable": true
        },
        "allow_rebase_merge": {
          "description": "Whether to allow rebase merges for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "temp_clone_token": {
          "type": "string"
        },
        "allow_squash_merge": {
          "description": "Whether to allow squash merges for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "allow_auto_merge": {
          "description": "Whether to allow Auto-merge to be used on pull requests.",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "delete_branch_on_merge": {
          "description": "Whether to delete head branches when pull requests are merged",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "allow_update_branch": {
          "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "use_squash_pr_title_as_default": {
          "type": "boolean",
          "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.",
          "default": false,
          "deprecated": true
        },
        "squash_merge_commit_title": {
          "type": "string",
          "enum": [
            "PR_TITLE",
            "COMMIT_OR_PR_TITLE"
          ],
          "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
        },
        "squash_merge_commit_message": {
          "type": "string",
          "enum": [
            "PR_BODY",
            "COMMIT_MESSAGES",
            "BLANK"
          ],
          "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
        },
        "merge_commit_title": {
          "type": "string",
          "enum": [
            "PR_TITLE",
            "MERGE_MESSAGE"
          ],
          "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
        },
        "merge_commit_message": {
          "type": "string",
          "enum": [
            "PR_BODY",
            "PR_TITLE",
            "BLANK"
          ],
          "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
        },
        "allow_merge_commit": {
          "description": "Whether to allow merge commits for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "allow_forking": {
          "description": "Whether to allow forking this repo",
          "type": "boolean"
        },
        "web_commit_signoff_required": {
          "description": "Whether to require contributors to sign off on web-based commits",
          "default": false,
          "type": "boolean"
        },
        "open_issues": {
          "type": "integer"
        },
        "watchers": {
          "type": "integer"
        },
        "master_branch": {
          "type": "string"
        },
        "starred_at": {
          "type": "string",
          "example": "\"2020-07-09T00:17:42Z\""
        },
        "anonymous_access_enabled": {
          "type": "boolean",
          "description": "Whether anonymous git access is enabled for this repository"
        },
        "code_search_index_status": {
          "type": "object",
          "description": "The status of the code search index for this repository",
          "properties": {
            "lexical_search_ok": {
              "type": "boolean"
            },
            "lexical_commit_sha": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "archive_url",
        "assignees_url",
        "blobs_url",
        "branches_url",
        "collaborators_url",
        "comments_url",
        "commits_url",
        "compare_url",
        "contents_url",
        "contributors_url",
        "deployments_url",
        "description",
        "downloads_url",
        "events_url",
        "fork",
        "forks_url",
        "full_name",
        "git_commits_url",
        "git_refs_url",
        "git_tags_url",
        "hooks_url",
        "html_url",
        "id",
        "node_id",
        "issue_comment_url",
        "issue_events_url",
        "issues_url",
        "keys_url",
        "labels_url",
        "languages_url",
        "merges_url",
        "milestones_url",
        "name",
        "notifications_url",
        "owner",
        "private",
        "pulls_url",
        "releases_url",
        "stargazers_url",
        "statuses_url",
        "subscribers_url",
        "subscription_url",
        "tags_url",
        "teams_url",
        "trees_url",
        "url",
        "clone_url",
        "default_branch",
        "forks",
        "forks_count",
        "git_url",
        "has_downloads",
        "has_issues",
        "has_projects",
        "has_wiki",
        "has_pages",
        "homepage",
        "language",
        "archived",
        "disabled",
        "mirror_url",
        "open_issues",
        "open_issues_count",
        "license",
        "pushed_at",
        "size",
        "ssh_url",
        "stargazers_count",
        "svn_url",
        "watchers",
        "watchers_count",
        "created_at",
        "updated_at"
      ]
    },
    "source": {
      "title": "Repository",
      "description": "A repository on GitHub.",
      "type": "object",
      "properties": {
        "id": {
          "description": "Unique identifier of the repository",
          "example": 42,
          "type": "integer",
          "format": "int64"
        },
        "node_id": {
          "type": "string",
          "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
        },
        "name": {
          "description": "The name of the repository.",
          "type": "string",
          "example": "Team Environment"
        },
        "full_name": {
          "type": "string",
          "example": "octocat/Hello-World"
        },
        "license": {
          "title": "License Simple",
          "description": "License Simple",
          "type": "object",
          "properties": {
            "key": {
              "type": "string",
              "example": "mit"
            },
            "name": {
              "type": "string",
              "example": "MIT License"
            },
            "url": {
              "type": "string",
              "nullable": true,
              "format": "uri",
              "example": "https://api.github.com/licenses/mit"
            },
            "spdx_id": {
              "type": "string",
              "nullable": true,
              "example": "MIT"
            },
            "node_id": {
              "type": "string",
              "example": "MDc6TGljZW5zZW1pdA=="
            },
            "html_url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "key",
            "name",
            "url",
            "spdx_id",
            "node_id"
          ],
          "nullable": true
        },
        "forks": {
          "type": "integer"
        },
        "permissions": {
          "type": "object",
          "properties": {
            "admin": {
              "type": "boolean"
            },
            "pull": {
              "type": "boolean"
            },
            "triage": {
              "type": "boolean"
            },
            "push": {
              "type": "boolean"
            },
            "maintain": {
              "type": "boolean"
            }
          },
          "required": [
            "admin",
            "pull",
            "push"
          ]
        },
        "owner": {
          "title": "Simple User",
          "description": "A GitHub user.",
          "type": "object",
          "properties": {
            "name": {
              "nullable": true,
              "type": "string"
            },
            "email": {
              "nullable": true,
              "type": "string"
            },
            "login": {
              "type": "string",
              "example": "octocat"
            },
            "id": {
              "type": "integer",
              "format": "int64",
              "example": 1
            },
            "node_id": {
              "type": "string",
              "example": "MDQ6VXNlcjE="
            },
            "avatar_url": {
              "type": "string",
              "format": "uri",
              "example": "https://github.com/images/error/octocat_happy.gif"
            },
            "gravatar_id": {
              "type": "string",
              "example": "41d064eb2195891e12d0413f63227ea7",
              "nullable": true
            },
            "url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat"
            },
            "html_url": {
              "type": "string",
              "format": "uri",
              "example": "https://github.com/octocat"
            },
            "followers_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/followers"
            },
            "following_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/following{/other_user}"
            },
            "gists_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/gists{/gist_id}"
            },
            "starred_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
            },
            "subscriptions_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/subscriptions"
            },
            "organizations_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/orgs"
            },
            "repos_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/repos"
            },
            "events_url": {
              "type": "string",
              "example": "https://api.github.com/users/octocat/events{/privacy}"
            },
            "received_events_url": {
              "type": "string",
              "format": "uri",
              "example": "https://api.github.com/users/octocat/received_events"
            },
            "type": {
              "type": "string",
              "example": "User"
            },
            "site_admin": {
              "type": "boolean"
            },
            "starred_at": {
              "type": "string",
              "example": "\"2020-07-09T00:17:55Z\""
            },
            "user_view_type": {
              "type": "string",
              "example": "public"
            }
          },
          "required": [
            "avatar_url",
            "events_url",
            "followers_url",
            "following_url",
            "gists_url",
            "gravatar_id",
            "html_url",
            "id",
            "node_id",
            "login",
            "organizations_url",
            "received_events_url",
            "repos_url",
            "site_admin",
            "starred_url",
            "subscriptions_url",
            "type",
            "url"
          ]
        },
        "private": {
          "description": "Whether the repository is private or public.",
          "default": false,
          "type": "boolean"
        },
        "html_url": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com/octocat/Hello-World"
        },
        "description": {
          "type": "string",
          "example": "This your first repo!",
          "nullable": true
        },
        "fork": {
          "type": "boolean"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/repos/octocat/Hello-World"
        },
        "archive_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
        },
        "assignees_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
        },
        "blobs_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
        },
        "branches_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
        },
        "collaborators_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
        },
        "comments_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
        },
        "commits_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
        },
        "compare_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
        },
        "contents_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
        },
        "contributors_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
        },
        "deployments_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
        },
        "downloads_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
        },
        "events_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/events"
        },
        "forks_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/forks"
        },
        "git_commits_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
        },
        "git_refs_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
        },
        "git_tags_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
        },
        "git_url": {
          "type": "string",
          "example": "git:github.com/octocat/Hello-World.git"
        },
        "issue_comment_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
        },
        "issue_events_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
        },
        "issues_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
        },
        "keys_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
        },
        "labels_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
        },
        "languages_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/languages"
        },
        "merges_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/merges"
        },
        "milestones_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
        },
        "notifications_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
        },
        "pulls_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
        },
        "releases_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
        },
        "ssh_url": {
          "type": "string",
          "example": "git@github.com:octocat/Hello-World.git"
        },
        "stargazers_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
        },
        "statuses_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
        },
        "subscribers_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
        },
        "subscription_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
        },
        "tags_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/tags"
        },
        "teams_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/teams"
        },
        "trees_url": {
          "type": "string",
          "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
        },
        "clone_url": {
          "type": "string",
          "example": "https://github.com/octocat/Hello-World.git"
        },
        "mirror_url": {
          "type": "string",
          "format": "uri",
          "example": "git:git.example.com/octocat/Hello-World",
          "nullable": true
        },
        "hooks_url": {
          "type": "string",
          "format": "uri",
          "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
        },
        "svn_url": {
          "type": "string",
          "format": "uri",
          "example": "https://svn.github.com/octocat/Hello-World"
        },
        "homepage": {
          "type": "string",
          "format": "uri",
          "example": "https://github.com",
          "nullable": true
        },
        "language": {
          "type": "string",
          "nullable": true
        },
        "forks_count": {
          "type": "integer",
          "example": 9
        },
        "stargazers_count": {
          "type": "integer",
          "example": 80
        },
        "watchers_count": {
          "type": "integer",
          "example": 80
        },
        "size": {
          "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
          "type": "integer",
          "example": 108
        },
        "default_branch": {
          "description": "The default branch of the repository.",
          "type": "string",
          "example": "master"
        },
        "open_issues_count": {
          "type": "integer",
          "example": 0
        },
        "is_template": {
          "description": "Whether this repository acts as a template that can be used to generate new repositories.",
          "default": false,
          "type": "boolean",
          "example": true
        },
        "topics": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "has_issues": {
          "description": "Whether issues are enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_projects": {
          "description": "Whether projects are enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_wiki": {
          "description": "Whether the wiki is enabled.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "has_pages": {
          "type": "boolean"
        },
        "has_downloads": {
          "description": "Whether downloads are enabled.",
          "default": true,
          "type": "boolean",
          "example": true,
          "deprecated": true
        },
        "has_discussions": {
          "description": "Whether discussions are enabled.",
          "default": false,
          "type": "boolean",
          "example": true
        },
        "archived": {
          "description": "Whether the repository is archived.",
          "default": false,
          "type": "boolean"
        },
        "disabled": {
          "type": "boolean",
          "description": "Returns whether or not this repository disabled."
        },
        "visibility": {
          "description": "The repository visibility: public, private, or internal.",
          "default": "public",
          "type": "string"
        },
        "pushed_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:06:43Z",
          "nullable": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:01:12Z",
          "nullable": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "example": "2011-01-26T19:14:43Z",
          "nullable": true
        },
        "allow_rebase_merge": {
          "description": "Whether to allow rebase merges for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "temp_clone_token": {
          "type": "string"
        },
        "allow_squash_merge": {
          "description": "Whether to allow squash merges for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "allow_auto_merge": {
          "description": "Whether to allow Auto-merge to be used on pull requests.",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "delete_branch_on_merge": {
          "description": "Whether to delete head branches when pull requests are merged",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "allow_update_branch": {
          "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
          "default": false,
          "type": "boolean",
          "example": false
        },
        "use_squash_pr_title_as_default": {
          "type": "boolean",
          "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.",
          "default": false,
          "deprecated": true
        },
        "squash_merge_commit_title": {
          "type": "string",
          "enum": [
            "PR_TITLE",
            "COMMIT_OR_PR_TITLE"
          ],
          "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
        },
        "squash_merge_commit_message": {
          "type": "string",
          "enum": [
            "PR_BODY",
            "COMMIT_MESSAGES",
            "BLANK"
          ],
          "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
        },
        "merge_commit_title": {
          "type": "string",
          "enum": [
            "PR_TITLE",
            "MERGE_MESSAGE"
          ],
          "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
        },
        "merge_commit_message": {
          "type": "string",
          "enum": [
            "PR_BODY",
            "PR_TITLE",
            "BLANK"
          ],
          "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
        },
        "allow_merge_commit": {
          "description": "Whether to allow merge commits for pull requests.",
          "default": true,
          "type": "boolean",
          "example": true
        },
        "allow_forking": {
          "description": "Whether to allow forking this repo",
          "type": "boolean"
        },
        "web_commit_signoff_required": {
          "description": "Whether to require contributors to sign off on web-based commits",
          "default": false,
          "type": "boolean"
        },
        "open_issues": {
          "type": "integer"
        },
        "watchers": {
          "type": "integer"
        },
        "master_branch": {
          "type": "string"
        },
        "starred_at": {
          "type": "string",
          "example": "\"2020-07-09T00:17:42Z\""
        },
        "anonymous_access_enabled": {
          "type": "boolean",
          "description": "Whether anonymous git access is enabled for this repository"
        },
        "code_search_index_status": {
          "type": "object",
          "description": "The status of the code search index for this repository",
          "properties": {
            "lexical_search_ok": {
              "type": "boolean"
            },
            "lexical_commit_sha": {
              "type": "string"
            }
          }
        }
      },
      "required": [
        "archive_url",
        "assignees_url",
        "blobs_url",
        "branches_url",
        "collaborators_url",
        "comments_url",
        "commits_url",
        "compare_url",
        "contents_url",
        "contributors_url",
        "deployments_url",
        "description",
        "downloads_url",
        "events_url",
        "fork",
        "forks_url",
        "full_name",
        "git_commits_url",
        "git_refs_url",
        "git_tags_url",
        "hooks_url",
        "html_url",
        "id",
        "node_id",
        "issue_comment_url",
        "issue_events_url",
        "issues_url",
        "keys_url",
        "labels_url",
        "languages_url",
        "merges_url",
        "milestones_url",
        "name",
        "notifications_url",
        "owner",
        "private",
        "pulls_url",
        "releases_url",
        "stargazers_url",
        "statuses_url",
        "subscribers_url",
        "subscription_url",
        "tags_url",
        "teams_url",
        "trees_url",
        "url",
        "clone_url",
        "default_branch",
        "forks",
        "forks_count",
        "git_url",
        "has_downloads",
        "has_issues",
        "has_projects",
        "has_wiki",
        "has_pages",
        "homepage",
        "language",
        "archived",
        "disabled",
        "mirror_url",
        "open_issues",
        "open_issues_count",
        "license",
        "pushed_at",
        "size",
        "ssh_url",
        "stargazers_count",
        "svn_url",
        "watchers",
        "watchers_count",
        "created_at",
        "updated_at"
      ]
    },
    "forks": {
      "type": "integer"
    },
    "master_branch": {
      "type": "string"
    },
    "open_issues": {
      "type": "integer"
    },
    "watchers": {
      "type": "integer"
    },
    "anonymous_access_enabled": {
      "description": "Whether anonymous git access is allowed.",
      "default": true,
      "type": "boolean"
    },
    "code_of_conduct": {
      "title": "Code Of Conduct Simple",
      "description": "Code of Conduct Simple",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "example": "https://api.github.com/repos/github/docs/community/code_of_conduct"
        },
        "key": {
          "type": "string",
          "example": "citizen_code_of_conduct"
        },
        "name": {
          "type": "string",
          "example": "Citizen Code of Conduct"
        },
        "html_url": {
          "type": "string",
          "nullable": true,
          "format": "uri",
          "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
        }
      },
      "required": [
        "url",
        "key",
        "name",
        "html_url"
      ]
    },
    "security_and_analysis": {
      "nullable": true,
      "type": "object",
      "properties": {
        "advanced_security": {
          "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n",
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "code_security": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "dependabot_security_updates": {
          "description": "Enable or disable Dependabot security updates for the repository.",
          "type": "object",
          "properties": {
            "status": {
              "description": "The enablement status of Dependabot security updates for the repository.",
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_push_protection": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_non_provider_patterns": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_ai_detection": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        }
      }
    },
    "custom_properties": {
      "type": "object",
      "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.",
      "additionalProperties": true
    }
  },
  "required": [
    "archive_url",
    "assignees_url",
    "blobs_url",
    "branches_url",
    "collaborators_url",
    "comments_url",
    "commits_url",
    "compare_url",
    "contents_url",
    "contributors_url",
    "deployments_url",
    "description",
    "downloads_url",
    "events_url",
    "fork",
    "forks_url",
    "full_name",
    "git_commits_url",
    "git_refs_url",
    "git_tags_url",
    "hooks_url",
    "html_url",
    "id",
    "node_id",
    "issue_comment_url",
    "issue_events_url",
    "issues_url",
    "keys_url",
    "labels_url",
    "languages_url",
    "merges_url",
    "milestones_url",
    "name",
    "notifications_url",
    "owner",
    "private",
    "pulls_url",
    "releases_url",
    "stargazers_url",
    "statuses_url",
    "subscribers_url",
    "subscription_url",
    "tags_url",
    "teams_url",
    "trees_url",
    "url",
    "clone_url",
    "default_branch",
    "forks",
    "forks_count",
    "git_url",
    "has_issues",
    "has_projects",
    "has_wiki",
    "has_pages",
    "has_discussions",
    "homepage",
    "language",
    "archived",
    "disabled",
    "mirror_url",
    "open_issues",
    "open_issues_count",
    "license",
    "pushed_at",
    "size",
    "ssh_url",
    "stargazers_count",
    "svn_url",
    "watchers",
    "watchers_count",
    "created_at",
    "updated_at",
    "network_count",
    "subscribers_count"
  ]
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('github')

# Call this tool
result = await agent.call_tool('reposUpdate', {
    # Add required parameters here
})