IssueEntity
A resolved issue entity from GitHub.
Properties
Section titled “Properties”data:
object
id:
number
Format: int64
node_id
Section titled “node_id”node_id:
string
url:
string
Format: uri
Description
Section titled “Description”URL for the issue
Example
Section titled “Example”https://api.github.com/repositories/42/issues/1repository_url
Section titled “repository_url”repository_url:
string
Format: uri
labels_url
Section titled “labels_url”labels_url:
string
comments_url
Section titled “comments_url”comments_url:
string
Format: uri
events_url
Section titled “events_url”events_url:
string
Format: uri
html_url
Section titled “html_url”html_url:
string
Format: uri
number
Section titled “number”number:
number
Description
Section titled “Description”Number uniquely identifying the issue within its repository
Example
Section titled “Example”42state:
string
Description
Section titled “Description”State of the issue; either ‘open’ or ‘closed’
Example
Section titled “Example”openstate_reason?
Section titled “state_reason?”
optionalstate_reason:"completed"|"reopened"|"not_planned"|null
Description
Section titled “Description”The reason for the current state
Example
Section titled “Example”not_planned@enum {string|null}title:
string
Description
Section titled “Description”Title of the issue
Example
Section titled “Example”Widget creation fails in Safari on OS X 10.8
optionalbody:string|null
Description
Section titled “Description”Contents of the issue
Example
Section titled “Example”It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?user: {
name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } |null
Type Declaration
Section titled “Type Declaration”{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }
null
labels
Section titled “labels”labels: (
string| {id?:number;node_id?:string;url?:string;name?:string;description?:string|null;color?:string|null;default?:boolean; })[]
Description
Section titled “Description”Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository
Example
Section titled “Example”[ "bug", "registration"]assignee
Section titled “assignee”assignee: {
name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } |null
Type Declaration
Section titled “Type Declaration”{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }
null
assignees?
Section titled “assignees?”
optionalassignees:object[] |null
milestone
Section titled “milestone”milestone: {
url:string;html_url:string;labels_url:string;id:number;node_id:string;number:number;state:"open"|"closed";title:string;description:string|null;creator: {name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } |null;open_issues:number;closed_issues:number;created_at:string;updated_at:string;closed_at:string|null;due_on:string|null; } |null
Type Declaration
Section titled “Type Declaration”{ url: string; html_url: string; labels_url: string; id: number; node_id: string; number: number; state: "open" | "closed"; title: string; description: string | null; creator: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | null; open_issues: number; closed_issues: number; created_at: string; updated_at: string; closed_at: string | null; due_on: string | null; }
null
locked
Section titled “locked”locked:
boolean
active_lock_reason?
Section titled “active_lock_reason?”
optionalactive_lock_reason:string|null
comments
Section titled “comments”comments:
number
pull_request?
Section titled “pull_request?”
optionalpull_request:object
pull_request.merged_at?
Section titled “pull_request.merged_at?”
optionalmerged_at:string|null
Format: date-time
pull_request.diff_url
Section titled “pull_request.diff_url”diff_url:
string|null
Format: uri
pull_request.html_url
Section titled “pull_request.html_url”html_url:
string|null
Format: uri
pull_request.patch_url
Section titled “pull_request.patch_url”patch_url:
string|null
Format: uri
pull_request.url
Section titled “pull_request.url”url:
string|null
Format: uri
closed_at
Section titled “closed_at”closed_at:
string|null
Format: date-time
created_at
Section titled “created_at”created_at:
string
Format: date-time
updated_at
Section titled “updated_at”updated_at:
string
Format: date-time
draft?
Section titled “draft?”
optionaldraft:boolean
closed_by?
Section titled “closed_by?”
optionalclosed_by: {name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } |null
Type Declaration
Section titled “Type Declaration”{ name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; }
null
body_html?
Section titled “body_html?”
optionalbody_html:string
body_text?
Section titled “body_text?”
optionalbody_text:string
timeline_url?
Section titled “timeline_url?”
optionaltimeline_url:string
Format: uri
optionaltype: {id:number;node_id:string;name:string;description:string|null;color?:"gray"|"blue"|"green"|"yellow"|"orange"|"red"|"pink"|"purple"|null;created_at?:string;updated_at?:string;is_enabled?:boolean; } |null
Type Declaration
Section titled “Type Declaration”{ id: number; node_id: string; name: string; description: string | null; color?: "gray" | "blue" | "green" | "yellow" | "orange" | "red" | "pink" | "purple" | null; created_at?: string; updated_at?: string; is_enabled?: boolean; }
null
repository?
Section titled “repository?”
optionalrepository:object
repository.id
Section titled “repository.id”id:
number
Format: int64
Description
Section titled “Description”Unique identifier of the repository
Example
Section titled “Example”42repository.node_id
Section titled “repository.node_id”node_id:
string
Example
Section titled “Example”MDEwOlJlcG9zaXRvcnkxMjk2MjY5repository.name
Section titled “repository.name”name:
string
Description
Section titled “Description”The name of the repository.
Example
Section titled “Example”Team Environmentrepository.full_name
Section titled “repository.full_name”full_name:
string
Example
Section titled “Example”octocat/Hello-Worldrepository.license
Section titled “repository.license”license: {
key:string;name:string;url:string|null;spdx_id:string|null;node_id:string;html_url?:string; } |null
Type Declaration
Section titled “Type Declaration”{ key: string; name: string; url: string | null; spdx_id: string | null; node_id: string; html_url?: string; }
null
repository.forks
Section titled “repository.forks”forks:
number
repository.permissions?
Section titled “repository.permissions?”
optionalpermissions:object
repository.permissions.admin
Section titled “repository.permissions.admin”admin:
boolean
repository.permissions.pull
Section titled “repository.permissions.pull”pull:
boolean
repository.permissions.triage?
Section titled “repository.permissions.triage?”
optionaltriage:boolean
repository.permissions.push
Section titled “repository.permissions.push”push:
boolean
repository.permissions.maintain?
Section titled “repository.permissions.maintain?”
optionalmaintain:boolean
repository.owner
Section titled “repository.owner”owner:
object
repository.owner.name?
Section titled “repository.owner.name?”
optionalname:string|null
repository.owner.email?
Section titled “repository.owner.email?”
optionalemail:string|null
repository.owner.login
Section titled “repository.owner.login”login:
string
Example
Section titled “Example”octocatrepository.owner.id
Section titled “repository.owner.id”id:
number
Format: int64
Example
Section titled “Example”1repository.owner.node_id
Section titled “repository.owner.node_id”node_id:
string
Example
Section titled “Example”MDQ6VXNlcjE=repository.owner.avatar_url
Section titled “repository.owner.avatar_url”avatar_url:
string
Format: uri
Example
Section titled “Example”https://github.com/images/error/octocat_happy.gifrepository.owner.gravatar_id
Section titled “repository.owner.gravatar_id”gravatar_id:
string|null
Example
Section titled “Example”41d064eb2195891e12d0413f63227ea7repository.owner.url
Section titled “repository.owner.url”url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocatrepository.owner.html_url
Section titled “repository.owner.html_url”html_url:
string
Format: uri
Example
Section titled “Example”https://github.com/octocatrepository.owner.followers_url
Section titled “repository.owner.followers_url”followers_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/followersrepository.owner.following_url
Section titled “repository.owner.following_url”following_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/following{/other_user}repository.owner.gists_url
Section titled “repository.owner.gists_url”gists_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/gists{/gist_id}repository.owner.starred_url
Section titled “repository.owner.starred_url”starred_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/starred{/owner}{/repo}repository.owner.subscriptions_url
Section titled “repository.owner.subscriptions_url”subscriptions_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/subscriptionsrepository.owner.organizations_url
Section titled “repository.owner.organizations_url”organizations_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/orgsrepository.owner.repos_url
Section titled “repository.owner.repos_url”repos_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/reposrepository.owner.events_url
Section titled “repository.owner.events_url”events_url:
string
Example
Section titled “Example”https://api.github.com/users/octocat/events{/privacy}repository.owner.received_events_url
Section titled “repository.owner.received_events_url”received_events_url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/users/octocat/received_eventsrepository.owner.type
Section titled “repository.owner.type”type:
string
Example
Section titled “Example”Userrepository.owner.site_admin
Section titled “repository.owner.site_admin”site_admin:
boolean
repository.owner.starred_at?
Section titled “repository.owner.starred_at?”
optionalstarred_at:string
Example
Section titled “Example”"2020-07-09T00:17:55Z"repository.owner.user_view_type?
Section titled “repository.owner.user_view_type?”
optionaluser_view_type:string
Example
Section titled “Example”publicrepository.private
Section titled “repository.private”private:
boolean
Description
Section titled “Description”Whether the repository is private or public.
Default
Section titled “Default”falserepository.html_url
Section titled “repository.html_url”html_url:
string
Format: uri
Example
Section titled “Example”https://github.com/octocat/Hello-Worldrepository.description
Section titled “repository.description”description:
string|null
Example
Section titled “Example”This your first repo!repository.fork
Section titled “repository.fork”fork:
boolean
repository.url
Section titled “repository.url”url:
string
Format: uri
Example
Section titled “Example”https://api.github.com/repos/octocat/Hello-Worldrepository.archive_url
Section titled “repository.archive_url”archive_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}repository.assignees_url
Section titled “repository.assignees_url”assignees_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/assignees{/user}repository.blobs_url
Section titled “repository.blobs_url”blobs_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}repository.branches_url
Section titled “repository.branches_url”branches_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/branches{/branch}repository.collaborators_url
Section titled “repository.collaborators_url”collaborators_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}repository.comments_url
Section titled “repository.comments_url”comments_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/comments{/number}repository.commits_url
Section titled “repository.commits_url”commits_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/commits{/sha}repository.compare_url
Section titled “repository.compare_url”compare_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}repository.contents_url
Section titled “repository.contents_url”contents_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/contents/{+path}repository.contributors_url
Section titled “repository.contributors_url”contributors_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/contributorsrepository.deployments_url
Section titled “repository.deployments_url”deployments_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/deploymentsrepository.downloads_url
Section titled “repository.downloads_url”downloads_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/downloadsrepository.events_url
Section titled “repository.events_url”events_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/eventsrepository.forks_url
Section titled “repository.forks_url”forks_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/forksrepository.git_commits_url
Section titled “repository.git_commits_url”git_commits_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}repository.git_refs_url
Section titled “repository.git_refs_url”git_refs_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}repository.git_tags_url
Section titled “repository.git_tags_url”git_tags_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}repository.git_url
Section titled “repository.git_url”git_url:
string
Example
Section titled “Example”git:github.com/octocat/Hello-World.gitrepository.issue_comment_url
Section titled “repository.issue_comment_url”issue_comment_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}repository.issue_events_url
Section titled “repository.issue_events_url”issue_events_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/issues/events{/number}repository.issues_url
Section titled “repository.issues_url”issues_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/issues{/number}repository.keys_url
Section titled “repository.keys_url”keys_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/keys{/key_id}repository.labels_url
Section titled “repository.labels_url”labels_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/labels{/name}repository.languages_url
Section titled “repository.languages_url”languages_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/languagesrepository.merges_url
Section titled “repository.merges_url”merges_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/mergesrepository.milestones_url
Section titled “repository.milestones_url”milestones_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/milestones{/number}repository.notifications_url
Section titled “repository.notifications_url”notifications_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}repository.pulls_url
Section titled “repository.pulls_url”pulls_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/pulls{/number}repository.releases_url
Section titled “repository.releases_url”releases_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/releases{/id}repository.ssh_url
Section titled “repository.ssh_url”ssh_url:
string
Example
Section titled “Example”git@github.com:octocat/Hello-World.gitrepository.stargazers_url
Section titled “repository.stargazers_url”stargazers_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/stargazersrepository.statuses_url
Section titled “repository.statuses_url”statuses_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/statuses/{sha}repository.subscribers_url
Section titled “repository.subscribers_url”subscribers_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/subscribersrepository.subscription_url
Section titled “repository.subscription_url”subscription_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/subscriptionrepository.tags_url
Section titled “repository.tags_url”tags_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/tagsrepository.teams_url
Section titled “repository.teams_url”teams_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/teamsrepository.trees_url
Section titled “repository.trees_url”trees_url:
string
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}repository.clone_url
Section titled “repository.clone_url”clone_url:
string
Example
Section titled “Example”https://github.com/octocat/Hello-World.gitrepository.mirror_url
Section titled “repository.mirror_url”mirror_url:
string|null
Format: uri
Example
Section titled “Example”git:git.example.com/octocat/Hello-Worldrepository.hooks_url
Section titled “repository.hooks_url”hooks_url:
string
Format: uri
Example
Section titled “Example”http://api.github.com/repos/octocat/Hello-World/hooksrepository.svn_url
Section titled “repository.svn_url”svn_url:
string
Format: uri
Example
Section titled “Example”https://svn.github.com/octocat/Hello-Worldrepository.homepage
Section titled “repository.homepage”homepage:
string|null
Format: uri
Example
Section titled “Example”https://github.comrepository.language
Section titled “repository.language”language:
string|null
repository.forks_count
Section titled “repository.forks_count”forks_count:
number
Example
Section titled “Example”9repository.stargazers_count
Section titled “repository.stargazers_count”stargazers_count:
number
Example
Section titled “Example”80repository.watchers_count
Section titled “repository.watchers_count”watchers_count:
number
Example
Section titled “Example”80repository.size
Section titled “repository.size”size:
number
Description
Section titled “Description”The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.
Example
Section titled “Example”108repository.default_branch
Section titled “repository.default_branch”default_branch:
string
Description
Section titled “Description”The default branch of the repository.
Example
Section titled “Example”masterrepository.open_issues_count
Section titled “repository.open_issues_count”open_issues_count:
number
Example
Section titled “Example”0repository.is_template?
Section titled “repository.is_template?”
optionalis_template:boolean
Description
Section titled “Description”Whether this repository acts as a template that can be used to generate new repositories.
Default
Section titled “Default”falseExample
Section titled “Example”truerepository.topics?
Section titled “repository.topics?”
optionaltopics:string[]
repository.has_issues
Section titled “repository.has_issues”has_issues:
boolean
Description
Section titled “Description”Whether issues are enabled.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.has_projects
Section titled “repository.has_projects”has_projects:
boolean
Description
Section titled “Description”Whether projects are enabled.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.has_wiki
Section titled “repository.has_wiki”has_wiki:
boolean
Description
Section titled “Description”Whether the wiki is enabled.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.has_pages
Section titled “repository.has_pages”has_pages:
boolean
repository.has_downloads
Section titled “repository.has_downloads”has_downloads:
boolean
Description
Section titled “Description”Whether downloads are enabled.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.has_discussions?
Section titled “repository.has_discussions?”
optionalhas_discussions:boolean
Description
Section titled “Description”Whether discussions are enabled.
Default
Section titled “Default”falseExample
Section titled “Example”truerepository.archived
Section titled “repository.archived”archived:
boolean
Description
Section titled “Description”Whether the repository is archived.
Default
Section titled “Default”falserepository.disabled
Section titled “repository.disabled”disabled:
boolean
Description
Section titled “Description”Returns whether or not this repository disabled.
repository.visibility?
Section titled “repository.visibility?”
optionalvisibility:string
Description
Section titled “Description”The repository visibility: public, private, or internal.
Default
Section titled “Default”publicrepository.pushed_at
Section titled “repository.pushed_at”pushed_at:
string|null
Format: date-time
Example
Section titled “Example”2011-01-26T19:06:43Zrepository.created_at
Section titled “repository.created_at”created_at:
string|null
Format: date-time
Example
Section titled “Example”2011-01-26T19:01:12Zrepository.updated_at
Section titled “repository.updated_at”updated_at:
string|null
Format: date-time
Example
Section titled “Example”2011-01-26T19:14:43Zrepository.allow_rebase_merge?
Section titled “repository.allow_rebase_merge?”
optionalallow_rebase_merge:boolean
Description
Section titled “Description”Whether to allow rebase merges for pull requests.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.temp_clone_token?
Section titled “repository.temp_clone_token?”
optionaltemp_clone_token:string
repository.allow_squash_merge?
Section titled “repository.allow_squash_merge?”
optionalallow_squash_merge:boolean
Description
Section titled “Description”Whether to allow squash merges for pull requests.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.allow_auto_merge?
Section titled “repository.allow_auto_merge?”
optionalallow_auto_merge:boolean
Description
Section titled “Description”Whether to allow Auto-merge to be used on pull requests.
Default
Section titled “Default”falseExample
Section titled “Example”falserepository.delete_branch_on_merge?
Section titled “repository.delete_branch_on_merge?”
optionaldelete_branch_on_merge:boolean
Description
Section titled “Description”Whether to delete head branches when pull requests are merged
Default
Section titled “Default”falseExample
Section titled “Example”falserepository.allow_update_branch?
Section titled “repository.allow_update_branch?”
optionalallow_update_branch:boolean
Description
Section titled “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
Section titled “Default”falseExample
Section titled “Example”falserepository.use_squash_pr_title_as_default?
Section titled “repository.use_squash_pr_title_as_default?”
optionaluse_squash_pr_title_as_default:boolean
Description
Section titled “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
Section titled “Default”falserepository.squash_merge_commit_title?
Section titled “repository.squash_merge_commit_title?”
optionalsquash_merge_commit_title:"PR_TITLE"|"COMMIT_OR_PR_TITLE"
Description
Section titled “Description”The default value for a squash merge commit title:
PR_TITLE- default to the pull request’s title.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).
repository.squash_merge_commit_message?
Section titled “repository.squash_merge_commit_message?”
optionalsquash_merge_commit_message:"PR_BODY"|"COMMIT_MESSAGES"|"BLANK"
Description
Section titled “Description”The default value for a squash merge commit message:
PR_BODY- default to the pull request’s body.COMMIT_MESSAGES- default to the branch’s commit messages.BLANK- default to a blank commit message.
repository.merge_commit_title?
Section titled “repository.merge_commit_title?”
optionalmerge_commit_title:"PR_TITLE"|"MERGE_MESSAGE"
Description
Section titled “Description”The default value for a merge commit title.
PR_TITLE- default to the pull request’s title.MERGE_MESSAGE- default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).
repository.merge_commit_message?
Section titled “repository.merge_commit_message?”
optionalmerge_commit_message:"PR_TITLE"|"PR_BODY"|"BLANK"
Description
Section titled “Description”The default value for a merge commit message.
PR_TITLE- default to the pull request’s title.PR_BODY- default to the pull request’s body.BLANK- default to a blank commit message.
repository.allow_merge_commit?
Section titled “repository.allow_merge_commit?”
optionalallow_merge_commit:boolean
Description
Section titled “Description”Whether to allow merge commits for pull requests.
Default
Section titled “Default”trueExample
Section titled “Example”truerepository.allow_forking?
Section titled “repository.allow_forking?”
optionalallow_forking:boolean
Description
Section titled “Description”Whether to allow forking this repo
repository.web_commit_signoff_required?
Section titled “repository.web_commit_signoff_required?”
optionalweb_commit_signoff_required:boolean
Description
Section titled “Description”Whether to require contributors to sign off on web-based commits
Default
Section titled “Default”falserepository.open_issues
Section titled “repository.open_issues”open_issues:
number
repository.watchers
Section titled “repository.watchers”watchers:
number
repository.master_branch?
Section titled “repository.master_branch?”
optionalmaster_branch:string
repository.starred_at?
Section titled “repository.starred_at?”
optionalstarred_at:string
Example
Section titled “Example”"2020-07-09T00:17:42Z"repository.anonymous_access_enabled?
Section titled “repository.anonymous_access_enabled?”
optionalanonymous_access_enabled:boolean
Description
Section titled “Description”Whether anonymous git access is enabled for this repository
repository.code_search_index_status?
Section titled “repository.code_search_index_status?”
optionalcode_search_index_status:object
Description
Section titled “Description”The status of the code search index for this repository
repository.code_search_index_status.lexical_search_ok?
Section titled “repository.code_search_index_status.lexical_search_ok?”
optionallexical_search_ok:boolean
repository.code_search_index_status.lexical_commit_sha?
Section titled “repository.code_search_index_status.lexical_commit_sha?”
optionallexical_commit_sha:string
performed_via_github_app?
Section titled “performed_via_github_app?”
optionalperformed_via_github_app: {id:number;slug?:string;node_id:string;client_id?:string;owner: {name?:string|null;email?:string|null;login:string;id:number;node_id:string;avatar_url:string;gravatar_id:string|null;url:string;html_url:string;followers_url:string;following_url:string;gists_url:string;starred_url:string;subscriptions_url:string;organizations_url:string;repos_url:string;events_url:string;received_events_url:string;type:string;site_admin:boolean;starred_at?:string;user_view_type?:string; } | {description?:string|null;html_url:string;website_url?:string|null;id:number;node_id:string;name:string;slug:string;created_at:string|null;updated_at:string|null;avatar_url:string; };name:string;description:string|null;external_url:string;html_url:string;created_at:string;updated_at:string;permissions: {[key:string]:string|undefined;issues?:string;checks?:string;metadata?:string;contents?:string;deployments?:string; };events:string[];installations_count?:number;client_secret?:string;webhook_secret?:string|null;pem?:string; } |null
Type Declaration
Section titled “Type Declaration”{ id: number; slug?: string; node_id: string; client_id?: string; owner: { name?: string | null; email?: string | null; login: string; id: number; node_id: string; avatar_url: string; gravatar_id: string | null; url: string; html_url: string; followers_url: string; following_url: string; gists_url: string; starred_url: string; subscriptions_url: string; organizations_url: string; repos_url: string; events_url: string; received_events_url: string; type: string; site_admin: boolean; starred_at?: string; user_view_type?: string; } | { description?: string | null; html_url: string; website_url?: string | null; id: number; node_id: string; name: string; slug: string; created_at: string | null; updated_at: string | null; avatar_url: string; }; name: string; description: string | null; external_url: string; html_url: string; created_at: string; updated_at: string; permissions: {[key: string]: string | undefined; issues?: string; checks?: string; metadata?: string; contents?: string; deployments?: string; }; events: string[]; installations_count?: number; client_secret?: string; webhook_secret?: string | null; pem?: string; }
null
author_association
Section titled “author_association”author_association:
"COLLABORATOR"|"CONTRIBUTOR"|"FIRST_TIMER"|"FIRST_TIME_CONTRIBUTOR"|"MANNEQUIN"|"MEMBER"|"NONE"|"OWNER"
reactions?
Section titled “reactions?”
optionalreactions:object
reactions.url
Section titled “reactions.url”url:
string
Format: uri
reactions.total_count
Section titled “reactions.total_count”total_count:
number
reactions.+1
Section titled “reactions.+1”+1:
number
reactions.-1
Section titled “reactions.-1”-1:
number
reactions.laugh
Section titled “reactions.laugh”laugh:
number
reactions.confused
Section titled “reactions.confused”confused:
number
reactions.heart
Section titled “reactions.heart”heart:
number
reactions.hooray
Section titled “reactions.hooray”hooray:
number
reactions.eyes
Section titled “reactions.eyes”eyes:
number
reactions.rocket
Section titled “reactions.rocket”rocket:
number
sub_issues_summary?
Section titled “sub_issues_summary?”
optionalsub_issues_summary:object
sub_issues_summary.total
Section titled “sub_issues_summary.total”total:
number
sub_issues_summary.completed
Section titled “sub_issues_summary.completed”completed:
number
sub_issues_summary.percent_completed
Section titled “sub_issues_summary.percent_completed”percent_completed:
number
number
Section titled “number”number:
number
type:
"issue"