Webhook map
fork(fork)issueComment(issueComment)issues(issues)package(package)pullRequest(pullRequest)pullRequestReview(pullRequestReview)push(push)refCreated(refCreated)refDeleted(refDeleted)release(release)repository(repository)status(status)wiki(wiki)workflowJob(workflowJob)workflowRun(workflowRun)
HTTP handler setup
import { processWebhook } from "corsair";
import { corsair } from "@/server/corsair";
export async function POST(request: Request) {
const headers = Object.fromEntries(request.headers);
// With multiTenancy, give each tenant its own URL (/api/webhook?tenantId=acme):
// the query says whose account, secret and hooks handle the delivery.
const query = Object.fromEntries(new URL(request.url).searchParams);
// The raw text, not request.json(): signatures are checked over the exact bytes sent.
const body = await request.text();
const result = await processWebhook(corsair, headers, body, query);
if (!result.plugin) {
return Response.json({ success: false }, { status: 404 });
}
// A refusal (bad signature) carries no status and answers 400; a handler
// that threw comes back with 500, so the sender retries it.
const status =
result.response?.success === false ? (result.response.statusCode ?? 400) : 200;
return Response.json(result.response ?? { success: true }, {
status,
headers: result.responseHeaders,
});
}
Events
Fork
Fork
fork
The repository was forked (X-Gitea-Event-Type fork)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
forkee | object | null | No | Repository represents a repository |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
forkee full type
forkee full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
forkee?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
fork: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Issue Comment
Issue Comment
issueComment
A comment on an issue or pull request was created, edited or deleted (X-Gitea-Event-Type issue_comment, pull_request_comment)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
issue | object | null | No | Issue represents an issue in a repository |
pull_request | object | null | No | PullRequest represents a pull request |
comment | object | null | No | Comment represents a comment on a commit or issue |
changes | object | null | No | What an edit changed: the old title, body or ref. |
is_pull | boolean | null | No | — |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
issue full type
issue full type
{
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
body?: string | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
due_date?: string | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
original_author?: string | null,
original_author_id?: number | null,
pin_order?: number | null,
projects?: {
card_type?: string | null,
closed_at?: string | null,
created_at?: string | null,
creator?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
creator_id?: number | null,
description?: string | null,
html_url?: string | null,
id?: number | null,
is_closed?: boolean | null,
num_closed_issues?: number | null,
num_issues?: number | null,
num_open_issues?: number | null,
owner_id?: number | null,
repo_id?: number | null,
state?: string | null,
template_type?: string | null,
title?: string | null,
type?: string | null,
updated_at?: string | null
}[] | null,
pull_request?: {
draft?: boolean | null,
html_url?: string | null,
merged?: boolean | null,
merged_at?: string | null
} | null,
ref?: string | null,
repository?: {
full_name?: string | null,
id?: number | null,
name?: string | null,
owner?: string | null
} | null,
state?: string | null,
time_estimate?: number | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
pull_request full type
pull_request full type
{
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
comment full type
comment full type
changes full type
changes full type
{
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
issue?: {
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
body?: string | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
due_date?: string | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
original_author?: string | null,
original_author_id?: number | null,
pin_order?: number | null,
projects?: {
card_type?: string | null,
closed_at?: string | null,
created_at?: string | null,
creator?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
creator_id?: number | null,
description?: string | null,
html_url?: string | null,
id?: number | null,
is_closed?: boolean | null,
num_closed_issues?: number | null,
num_issues?: number | null,
num_open_issues?: number | null,
owner_id?: number | null,
repo_id?: number | null,
state?: string | null,
template_type?: string | null,
title?: string | null,
type?: string | null,
updated_at?: string | null
}[] | null,
pull_request?: {
draft?: boolean | null,
html_url?: string | null,
merged?: boolean | null,
merged_at?: string | null
} | null,
ref?: string | null,
repository?: {
full_name?: string | null,
id?: number | null,
name?: string | null,
owner?: string | null
} | null,
state?: string | null,
time_estimate?: number | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
pull_request?: {
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
comment?: {
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
body?: string | null,
created_at?: string | null,
html_url?: string | null,
id?: number | null,
issue_url?: string | null,
original_author?: string | null,
original_author_id?: number | null,
pull_request_url?: string | null,
updated_at?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
changes?: {
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null,
is_pull?: boolean | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
issueComment: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Issues
Issues
issues
An issue was opened, edited, closed, reopened, assigned, labeled or given a milestone (X-Gitea-Event-Type issues, issue_assign, issue_label, issue_milestone)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
number | number | null | No | — |
changes | object | null | No | What an edit changed: the old title, body or ref. |
issue | object | null | No | Issue represents an issue in a repository |
commit_id | string | null | No | — |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
changes full type
changes full type
{
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null
issue full type
issue full type
{
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
body?: string | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
due_date?: string | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
original_author?: string | null,
original_author_id?: number | null,
pin_order?: number | null,
projects?: {
card_type?: string | null,
closed_at?: string | null,
created_at?: string | null,
creator?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
creator_id?: number | null,
description?: string | null,
html_url?: string | null,
id?: number | null,
is_closed?: boolean | null,
num_closed_issues?: number | null,
num_issues?: number | null,
num_open_issues?: number | null,
owner_id?: number | null,
repo_id?: number | null,
state?: string | null,
template_type?: string | null,
title?: string | null,
type?: string | null,
updated_at?: string | null
}[] | null,
pull_request?: {
draft?: boolean | null,
html_url?: string | null,
merged?: boolean | null,
merged_at?: string | null
} | null,
ref?: string | null,
repository?: {
full_name?: string | null,
id?: number | null,
name?: string | null,
owner?: string | null
} | null,
state?: string | null,
time_estimate?: number | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
number?: number | null,
changes?: {
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null,
issue?: {
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
body?: string | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
due_date?: string | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
original_author?: string | null,
original_author_id?: number | null,
pin_order?: number | null,
projects?: {
card_type?: string | null,
closed_at?: string | null,
created_at?: string | null,
creator?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
creator_id?: number | null,
description?: string | null,
html_url?: string | null,
id?: number | null,
is_closed?: boolean | null,
num_closed_issues?: number | null,
num_issues?: number | null,
num_open_issues?: number | null,
owner_id?: number | null,
repo_id?: number | null,
state?: string | null,
template_type?: string | null,
title?: string | null,
type?: string | null,
updated_at?: string | null
}[] | null,
pull_request?: {
draft?: boolean | null,
html_url?: string | null,
merged?: boolean | null,
merged_at?: string | null
} | null,
ref?: string | null,
repository?: {
full_name?: string | null,
id?: number | null,
name?: string | null,
owner?: string | null
} | null,
state?: string | null,
time_estimate?: number | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
commit_id?: string | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
issues: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Package
Package
package
A package was published or deleted (X-Gitea-Event-Type package)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
package | object | null | No | Package represents a package |
organization | object | null | No | Organization represents an organization |
sender | object | null | No | User represents a user |
repository | object | null | No | Repository represents a repository |
package full type
package full type
{
created_at?: string | null,
creator?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
html_url?: string | null,
id?: number | null,
name?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
type?: string | null,
version?: string | null
} | null
organization full type
organization full type
{
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
package?: {
created_at?: string | null,
creator?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
html_url?: string | null,
id?: number | null,
name?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
type?: string | null,
version?: string | null
} | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
package: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Pull Request
Pull Request
pullRequest
A pull request was opened, edited, closed, merged, synchronized, assigned, labeled, given a milestone or a review request (X-Gitea-Event-Type pull_request, pull_request_assign, pull_request_label, pull_request_milestone, pull_request_sync, pull_request_review_request)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
number | number | null | No | — |
changes | object | null | No | What an edit changed: the old title, body or ref. |
pull_request | object | null | No | PullRequest represents a pull request |
requested_reviewer | object | null | No | User represents a user |
commit_id | string | null | No | — |
review | object | null | No | The review, on review events. |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
changes full type
changes full type
{
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null
pull_request full type
pull_request full type
{
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
requested_reviewer full type
requested_reviewer full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
review full type
review full type
{
type?: string | null,
content?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
number?: number | null,
changes?: {
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null,
pull_request?: {
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
requested_reviewer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
commit_id?: string | null,
review?: {
type?: string | null,
content?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
pullRequest: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Pull Request Review
Pull Request Review
pullRequestReview
A pull request review was submitted: approved, changes requested, or a review comment (X-Gitea-Event-Type pull_request_review_approved, pull_request_review_rejected, pull_request_review_comment)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
number | number | null | No | — |
changes | object | null | No | What an edit changed: the old title, body or ref. |
pull_request | object | null | No | PullRequest represents a pull request |
requested_reviewer | object | null | No | User represents a user |
commit_id | string | null | No | — |
review | object | null | No | The review: its type and text. |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
changes full type
changes full type
{
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null
pull_request full type
pull_request full type
{
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
requested_reviewer full type
requested_reviewer full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
review full type
review full type
{
type?: string | null,
content?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
number?: number | null,
changes?: {
title?: {
from?: string | null
} | null,
body?: {
from?: string | null
} | null,
ref?: {
from?: string | null
} | null
} | null,
pull_request?: {
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
requested_reviewer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
commit_id?: string | null,
review?: {
type?: string | null,
content?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
pullRequestReview: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Push
Push
push
Commits pushed to a branch or tag (X-Gitea-Event-Type push)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | null | No | — |
before | string | null | No | — |
after | string | null | No | — |
compare_url | string | null | No | — |
commits | object[] | null | No | — |
total_commits | number | null | No | — |
head_commit | object | null | No | PayloadCommit represents a commit |
pusher | object | null | No | User represents a user |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
commits full type
commits full type
{
added?: string[] | null,
author?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
committer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
id?: string | null,
message?: string | null,
modified?: string[] | null,
removed?: string[] | null,
timestamp?: string | null,
url?: string | null,
verification?: {
payload?: string | null,
reason?: string | null,
signature?: string | null,
signer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
verified?: boolean | null
} | null
}[] | null
head_commit full type
head_commit full type
{
added?: string[] | null,
author?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
committer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
id?: string | null,
message?: string | null,
modified?: string[] | null,
removed?: string[] | null,
timestamp?: string | null,
url?: string | null,
verification?: {
payload?: string | null,
reason?: string | null,
signature?: string | null,
signer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
verified?: boolean | null
} | null
} | null
pusher full type
pusher full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
ref?: string | null,
before?: string | null,
after?: string | null,
compare_url?: string | null,
commits?: {
added?: string[] | null,
author?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
committer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
id?: string | null,
message?: string | null,
modified?: string[] | null,
removed?: string[] | null,
timestamp?: string | null,
url?: string | null,
verification?: {
payload?: string | null,
reason?: string | null,
signature?: string | null,
signer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
verified?: boolean | null
} | null
}[] | null,
total_commits?: number | null,
head_commit?: {
added?: string[] | null,
author?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
committer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
id?: string | null,
message?: string | null,
modified?: string[] | null,
removed?: string[] | null,
timestamp?: string | null,
url?: string | null,
verification?: {
payload?: string | null,
reason?: string | null,
signature?: string | null,
signer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
verified?: boolean | null
} | null
} | null,
pusher?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
push: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Ref Created
Ref Created
refCreated
A branch or tag was created (X-Gitea-Event-Type create)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
sha | string | null | No | — |
ref | string | null | No | — |
ref_type | string | null | No | — |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
sha?: string | null,
ref?: string | null,
ref_type?: string | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
refCreated: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Ref Deleted
Ref Deleted
refDeleted
A branch or tag was deleted (X-Gitea-Event-Type delete)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
ref | string | null | No | — |
ref_type | string | null | No | — |
pusher_type | string | null | No | — |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
ref?: string | null,
ref_type?: string | null,
pusher_type?: string | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
refDeleted: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Release
Release
release
A release was published, updated or deleted (X-Gitea-Event-Type release)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
release | object | null | No | Release represents a repository release |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
release full type
release full type
{
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
author?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
body?: string | null,
created_at?: string | null,
draft?: boolean | null,
html_url?: string | null,
id?: number | null,
name?: string | null,
prerelease?: boolean | null,
published_at?: string | null,
tag_name?: string | null,
tarball_url?: string | null,
target_commitish?: string | null,
upload_url?: string | null,
url?: string | null,
zipball_url?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
release?: {
assets?: {
browser_download_url?: string | null,
created_at?: string | null,
download_count?: number | null,
id?: number | null,
name?: string | null,
size?: number | null,
uuid?: string | null
}[] | null,
author?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
body?: string | null,
created_at?: string | null,
draft?: boolean | null,
html_url?: string | null,
id?: number | null,
name?: string | null,
prerelease?: boolean | null,
published_at?: string | null,
tag_name?: string | null,
tarball_url?: string | null,
target_commitish?: string | null,
upload_url?: string | null,
url?: string | null,
zipball_url?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
release: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Repository
Repository
repository
The repository was created or deleted (X-Gitea-Event-Type repository)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
organization | object | null | No | Organization represents an organization |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
organization full type
organization full type
{
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
repository: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Status
Status
status
A commit status was set (X-Gitea-Event-Type status)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
commit | object | null | No | PayloadCommit represents a commit |
context | string | null | No | — |
created_at | string | null | No | — |
description | string | null | No | — |
id | number | null | No | — |
sha | string | null | No | — |
state | string | null | No | — |
target_url | string | null | No | — |
updated_at | string | null | No | — |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
commit full type
commit full type
{
added?: string[] | null,
author?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
committer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
id?: string | null,
message?: string | null,
modified?: string[] | null,
removed?: string[] | null,
timestamp?: string | null,
url?: string | null,
verification?: {
payload?: string | null,
reason?: string | null,
signature?: string | null,
signer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
verified?: boolean | null
} | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
commit?: {
added?: string[] | null,
author?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
committer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
id?: string | null,
message?: string | null,
modified?: string[] | null,
removed?: string[] | null,
timestamp?: string | null,
url?: string | null,
verification?: {
payload?: string | null,
reason?: string | null,
signature?: string | null,
signer?: {
email?: string | null,
name?: string | null,
username?: string | null
} | null,
verified?: boolean | null
} | null
} | null,
context?: string | null,
created_at?: string | null,
description?: string | null,
id?: number | null,
sha?: string | null,
state?: string | null,
target_url?: string | null,
updated_at?: string | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
status: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Wiki
Wiki
wiki
A wiki page was created, edited or deleted (X-Gitea-Event-Type wiki)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
page | string | null | No | — |
comment | string | null | No | — |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
page?: string | null,
comment?: string | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
wiki: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Workflow Job
Workflow Job
workflowJob
A Gitea Actions job was queued, started or completed (X-Gitea-Event-Type workflow_job)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
workflow_job | object | null | No | ActionWorkflowJob represents a WorkflowJob |
pull_request | object | null | No | PullRequest represents a pull request |
organization | object | null | No | Organization represents an organization |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
workflow_job full type
workflow_job full type
{
completed_at?: string | null,
conclusion?: string | null,
created_at?: string | null,
head_branch?: string | null,
head_sha?: string | null,
html_url?: string | null,
id?: number | null,
labels?: string[] | null,
name?: string | null,
run_attempt?: number | null,
run_id?: number | null,
run_url?: string | null,
runner_id?: number | null,
runner_name?: string | null,
started_at?: string | null,
status?: string | null,
steps?: {
completed_at?: string | null,
conclusion?: string | null,
name?: string | null,
number?: number | null,
started_at?: string | null,
status?: string | null
}[] | null,
url?: string | null
} | null
pull_request full type
pull_request full type
{
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
organization full type
organization full type
{
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
workflow_job?: {
completed_at?: string | null,
conclusion?: string | null,
created_at?: string | null,
head_branch?: string | null,
head_sha?: string | null,
html_url?: string | null,
id?: number | null,
labels?: string[] | null,
name?: string | null,
run_attempt?: number | null,
run_id?: number | null,
run_url?: string | null,
runner_id?: number | null,
runner_name?: string | null,
started_at?: string | null,
status?: string | null,
steps?: {
completed_at?: string | null,
conclusion?: string | null,
name?: string | null,
number?: number | null,
started_at?: string | null,
status?: string | null
}[] | null,
url?: string | null
} | null,
pull_request?: {
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
workflowJob: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})
Workflow Run
Workflow Run
workflowRun
A Gitea Actions workflow run was requested, started or completed (X-Gitea-Event-Type workflow_run)
Payload
| Name | Type | Required | Description |
|---|---|---|---|
action | string | null | No | — |
workflow | object | null | No | ActionWorkflow represents a ActionWorkflow |
workflow_run | object | null | No | ActionWorkflowRun represents a WorkflowRun |
pull_request | object | null | No | PullRequest represents a pull request |
organization | object | null | No | Organization represents an organization |
repository | object | null | No | Repository represents a repository |
sender | object | null | No | User represents a user |
workflow full type
workflow full type
{
badge_url?: string | null,
created_at?: string | null,
deleted_at?: string | null,
html_url?: string | null,
id?: string | null,
name?: string | null,
path?: string | null,
state?: string | null,
updated_at?: string | null,
url?: string | null
} | null
workflow_run full type
workflow_run full type
{
actor?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
artifacts_url?: string | null,
cancel_url?: string | null,
completed_at?: string | null,
conclusion?: string | null,
created_at?: string | null,
display_title?: string | null,
event?: string | null,
head_branch?: string | null,
head_repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
head_sha?: string | null,
html_url?: string | null,
id?: number | null,
jobs_url?: string | null,
logs_url?: string | null,
path?: string | null,
previous_attempt_url?: string | null,
pull_requests?: {
base?: {
ref?: string | null,
repo?: {
id?: number | null,
name?: string | null,
url?: string | null
} | null,
sha?: string | null
} | null,
head?: {
ref?: string | null,
repo?: {
id?: number | null,
name?: string | null,
url?: string | null
} | null,
sha?: string | null
} | null,
id?: number | null,
number?: number | null,
url?: string | null
}[] | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repository_id?: number | null,
rerun_url?: string | null,
run_attempt?: number | null,
run_number?: number | null,
started_at?: string | null,
status?: string | null,
trigger_actor?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
updated_at?: string | null,
url?: string | null
} | null
pull_request full type
pull_request full type
{
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null
organization full type
organization full type
{
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null
repository full type
repository full type
{
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null
sender full type
sender full type
{
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
Response data full type
Response data full type
{
action?: string | null,
workflow?: {
badge_url?: string | null,
created_at?: string | null,
deleted_at?: string | null,
html_url?: string | null,
id?: string | null,
name?: string | null,
path?: string | null,
state?: string | null,
updated_at?: string | null,
url?: string | null
} | null,
workflow_run?: {
actor?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
artifacts_url?: string | null,
cancel_url?: string | null,
completed_at?: string | null,
conclusion?: string | null,
created_at?: string | null,
display_title?: string | null,
event?: string | null,
head_branch?: string | null,
head_repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
head_sha?: string | null,
html_url?: string | null,
id?: number | null,
jobs_url?: string | null,
logs_url?: string | null,
path?: string | null,
previous_attempt_url?: string | null,
pull_requests?: {
base?: {
ref?: string | null,
repo?: {
id?: number | null,
name?: string | null,
url?: string | null
} | null,
sha?: string | null
} | null,
head?: {
ref?: string | null,
repo?: {
id?: number | null,
name?: string | null,
url?: string | null
} | null,
sha?: string | null
} | null,
id?: number | null,
number?: number | null,
url?: string | null
}[] | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repository_id?: number | null,
rerun_url?: string | null,
run_attempt?: number | null,
run_number?: number | null,
started_at?: string | null,
status?: string | null,
trigger_actor?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
updated_at?: string | null,
url?: string | null
} | null,
pull_request?: {
additions?: number | null,
allow_maintainer_edit?: boolean | null,
assignee?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
assignees?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
base?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
body?: string | null,
changed_files?: number | null,
closed_at?: string | null,
comments?: number | null,
content_version?: number | null,
created_at?: string | null,
deletions?: number | null,
diff_url?: string | null,
draft?: boolean | null,
due_date?: string | null,
head?: {
label?: string | null,
ref?: string | null,
repo?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
repo_id?: number | null,
sha?: string | null
} | null,
html_url?: string | null,
id?: number | null,
is_locked?: boolean | null,
labels?: {
color?: string | null,
description?: string | null,
exclusive?: boolean | null,
id?: number | null,
is_archived?: boolean | null,
name?: string | null,
url?: string | null
}[] | null,
merge_base?: string | null,
merge_commit_sha?: string | null,
mergeable?: boolean | null,
merged?: boolean | null,
merged_at?: string | null,
merged_by?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
milestone?: {
closed_at?: string | null,
closed_issues?: number | null,
created_at?: string | null,
description?: string | null,
due_on?: string | null,
id?: number | null,
open_issues?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null
} | null,
number?: number | null,
patch_url?: string | null,
pin_order?: number | null,
requested_reviewers?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
}[] | null,
requested_reviewers_teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null,
review_comments?: number | null,
state?: string | null,
title?: string | null,
updated_at?: string | null,
url?: string | null,
user?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
} | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
repository?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: {
allow_fast_forward_only_merge?: boolean | null,
allow_manual_merge?: boolean | null,
allow_merge_commits?: boolean | null,
allow_merge_update?: boolean | null,
allow_rebase?: boolean | null,
allow_rebase_explicit?: boolean | null,
allow_rebase_update?: boolean | null,
allow_squash_merge?: boolean | null,
archived?: boolean | null,
archived_at?: string | null,
autodetect_manual_merge?: boolean | null,
avatar_url?: string | null,
branch_count?: number | null,
clone_url?: string | null,
created_at?: string | null,
default_allow_maintainer_edit?: boolean | null,
default_branch?: string | null,
default_delete_branch_after_merge?: boolean | null,
default_merge_style?: string | null,
default_target_branch?: string | null,
default_update_style?: string | null,
description?: string | null,
empty?: boolean | null,
external_tracker?: {
external_tracker_format?: string | null,
external_tracker_regexp_pattern?: string | null,
external_tracker_style?: string | null,
external_tracker_url?: string | null
} | null,
external_wiki?: {
external_wiki_url?: string | null
} | null,
fork?: boolean | null,
forks_count?: number | null,
full_name?: string | null,
has_actions?: boolean | null,
has_code?: boolean | null,
has_issues?: boolean | null,
has_packages?: boolean | null,
has_projects?: boolean | null,
has_pull_requests?: boolean | null,
has_releases?: boolean | null,
has_wiki?: boolean | null,
html_url?: string | null,
id?: number | null,
ignore_whitespace_conflicts?: boolean | null,
internal?: boolean | null,
internal_tracker?: {
allow_only_contributors_to_track_time?: boolean | null,
enable_issue_dependencies?: boolean | null,
enable_time_tracker?: boolean | null
} | null,
language?: string | null,
languages_url?: string | null,
licenses?: string[] | null,
link?: string | null,
mirror?: boolean | null,
mirror_interval?: string | null,
mirror_last_sync_at?: string | null,
mirror_updated?: string | null,
name?: string | null,
object_format_name?: string | null,
open_issues_count?: number | null,
open_pr_counter?: number | null,
original_url?: string | null,
owner?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
parent?: (recursive) | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
permissions?: {
admin?: boolean | null,
pull?: boolean | null,
push?: boolean | null
} | null,
private?: boolean | null,
projects_mode?: string | null,
release_counter?: number | null,
repo_transfer?: {
doer?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
recipient?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null,
teams?: {
can_create_org_repo?: boolean | null,
description?: string | null,
id?: number | null,
includes_all_repositories?: boolean | null,
name?: string | null,
organization?: {
avatar_url?: string | null,
description?: string | null,
email?: string | null,
full_name?: string | null,
id?: number | null,
location?: string | null,
name?: string | null,
repo_admin_change_team_access?: boolean | null,
username?: string | null,
visibility?: string | null,
website?: string | null
} | null,
permission?: string | null,
units?: string[] | null,
units_map?: Record<string, string> | null,
visibility?: string | null
}[] | null
} | null,
size?: number | null,
ssh_url?: string | null,
stars_count?: number | null,
template?: boolean | null,
topics?: string[] | null,
updated_at?: string | null,
url?: string | null,
watchers_count?: number | null,
website?: string | null
} | null,
sender?: {
active?: boolean | null,
avatar_url?: string | null,
created?: string | null,
description?: string | null,
email?: string | null,
followers_count?: number | null,
following_count?: number | null,
full_name?: string | null,
html_url?: string | null,
id?: number | null,
is_admin?: boolean | null,
language?: string | null,
last_login?: string | null,
location?: string | null,
login?: string | null,
login_name?: string | null,
prohibit_login?: boolean | null,
restricted?: boolean | null,
source_id?: number | null,
starred_repos_count?: number | null,
type?: string | null,
visibility?: string | null,
website?: string | null
} | null
}
webhookHooks example
gitea({
webhookHooks: {
workflowRun: {
before(ctx, args) {
return { ctx, args };
},
after(ctx, response) {
},
},
},
})