Github_t
type update_gist = {
update_gist_description : string; |
update_gist_files : (string * update_gist) list; |
}
type wiki_page = {
wiki_page_name : string; |
wiki_page_title : string; |
wiki_page_action : wiki_page_action; |
wiki_page_sha : string; |
wiki_page_html_url : string; |
}
type web_hook_config = {
web_hook_config_url : string; |
web_hook_config_content_type : string option; |
web_hook_config_insecure_ssl : bool_as_string; |
web_hook_config_secret : string option; |
}
type user_info = {
user_info_name : string option; |
user_info_company : string option; |
user_info_blog : string option; |
user_info_location : string option; |
user_info_email : string option; |
user_info_hireable : bool; |
user_info_bio : string; |
user_info_public_repos : int; |
user_info_public_gists : int; |
user_info_followers : int; |
user_info_following : int; |
user_info_created_at : string; |
user_info_updated_at : string; |
user_info_html_url : string; |
user_info_login : string; |
user_info_id : Stdlib.Int64.t; |
user_info_url : string; |
user_info_avatar_url : string option; |
user_info_ty : user_type; |
}
type user = {
user_login : string; |
user_id : Stdlib.Int64.t; |
user_url : string; |
user_avatar_url : string option; |
user_ty : user_type; |
}
type update_pull = {
update_pull_title : string option; |
update_pull_body : string option; |
update_pull_state : state option; |
update_pull_base : string option; |
}
type update_milestone = {
update_milestone_title : string option; |
update_milestone_state : state option; |
update_milestone_description : string option; |
update_milestone_due_on : string option; |
}
type update_issue = {
update_issue_title : string option; |
update_issue_body : string option; |
update_issue_state : state option; |
update_issue_assignee : string option; |
update_issue_milestone : int option; |
update_issue_labels : string list option; |
}
type event_type = [
]
type update_hook = {
update_hook_config : hook_config; |
update_hook_events : event_type list option; |
update_hook_active : bool; |
}
type issue = {
issue_url : string; |
issue_html_url : string; |
issue_number : int; |
issue_state : state; |
issue_title : string; |
issue_body : string; |
issue_user : user; |
issue_labels : label list; |
issue_comments : int; |
issue_created_at : string; |
issue_updated_at : string; |
issue_closed_at : string option; |
issue_milestone : milestone option; |
issue_sort : issue_sort; |
issue_direction : direction; |
issue_mentioned : string list option; |
issue_pull_request : pull_ref option; |
}
type timeline_action = [
]
type timeline_event = {
timeline_event_id : int option; |
timeline_event_url : string option; |
timeline_event_actor : user option; |
timeline_event_commit_id : string option; |
timeline_event_event : timeline_action; |
timeline_event_created_at : string; |
timeline_event_label : base_label option; |
timeline_event_assignee : user option; |
timeline_event_milestone : milestone_reference option; |
timeline_event_source : timeline_source option; |
timeline_event_rename : issue_rename option; |
}
type timeline_events = timeline_event list
type teams = team list
type org = {
org_login : string; |
org_id : Stdlib.Int64.t; |
org_url : string; |
org_ty : user_type; |
org_avatar_url : string option; |
}
type team_info = {
team_info_permission : team_permission; |
team_info_members_count : int; |
team_info_repos_count : int; |
team_info_organization : org; |
team_info_url : string; |
team_info_name : string; |
team_info_id : Stdlib.Int64.t; |
}
type team_infos = team_info list
type team_add_info = {
team_add_info_slug : string; |
team_add_info_permission : team_permission; |
team_add_info_members_url : string; |
team_add_info_repositories_url : string; |
team_add_info_url : string; |
team_add_info_name : string; |
team_add_info_id : Stdlib.Int64.t; |
}
type repository = {
repository_owner : user; |
repository_full_name : string; |
repository_description : string option; |
repository_private : bool; |
repository_fork : bool; |
repository_html_url : string; |
repository_clone_url : string; |
repository_git_url : string; |
repository_ssh_url : string; |
repository_svn_url : string; |
repository_mirror_url : string option; |
repository_homepage : string; |
repository_language : string option; |
repository_forks_count : int; |
repository_subscribers_count : int option; |
repository_stargazers_count : int; |
repository_size : int; |
repository_default_branch : string option; |
repository_open_issues_count : int; |
repository_pushed_at : string option; |
repository_created_at : string; |
repository_updated_at : string; |
repository_organization : user option; |
repository_has_issues : bool; |
repository_has_wiki : bool; |
repository_has_downloads : bool; |
repository_has_pages : bool; |
repository_permissions : repository_permissions option; |
repository_id : Stdlib.Int64.t; |
repository_name : string; |
repository_url : string; |
}
type team_add_event = {
team_add_event_team : team_add_info option; |
team_add_event_user : user option; |
team_add_event_repository : repository option; |
team_add_event_organization : org; |
}
type status = {
status_creator : user; |
status_url : string; |
status_updated_at : string; |
status_created_at : string; |
status_id : Stdlib.Int64.t; |
status_state : status_state; |
status_target_url : string option; |
status_description : string option; |
status_context : string option; |
}
type statuses = status list
type commit = {
commit_url : string; |
commit_sha : string; |
commit_git : git_commit; |
commit_author : user option; |
commit_committer : user option; |
}
type status_event = {
status_event_sha : string; |
status_event_target_url : string option; |
status_event_context : string option; |
status_event_description : string option; |
status_event_state : status_state; |
status_event_commit : commit; |
status_event_branches : status_branch list; |
}
type scope = [
]
type repositories = repository list
type repository_search = {
repository_search_total_count : int; |
repository_search_incomplete_results : bool; |
repository_search_items : repositories; |
}
type issues = issue list
type repository_issue_search = {
repository_issue_search_total_count : int; |
repository_issue_search_incomplete_results : bool; |
repository_issue_search_items : issues; |
}
type repository_event = {
repository_event_action : repository_action; |
repository_event_repository : repository; |
}
type repo_tag = {
repo_tag_name : string; |
repo_tag_commit : repo_commit; |
repo_tag_zipball_url : string; |
repo_tag_tarball_url : string; |
}
type repo_tags = repo_tag list
type linked_user = {
linked_user_html_url : string; |
linked_user_login : string; |
linked_user_id : Stdlib.Int64.t; |
linked_user_url : string; |
linked_user_avatar_url : string option; |
linked_user_ty : user_type; |
}
type repo_issues_event = {
repo_issues_event_issue : issue; |
repo_issues_event_id : int; |
repo_issues_event_url : string; |
repo_issues_event_actor : linked_user option; |
repo_issues_event_event : repo_issues_action; |
repo_issues_event_created_at : string; |
repo_issues_event_label : base_label option; |
repo_issues_event_assignee : linked_user option; |
repo_issues_event_assigner : linked_user option; |
repo_issues_event_milestone : milestone_reference option; |
repo_issues_event_rename : issue_rename option; |
}
type repo_issues_events = repo_issues_event list
type repo_issue_event = {
repo_issue_event_id : int; |
repo_issue_event_url : string; |
repo_issue_event_actor : linked_user option; |
repo_issue_event_event : repo_issues_action; |
repo_issue_event_created_at : string; |
repo_issue_event_label : base_label option; |
repo_issue_event_assignee : linked_user option; |
repo_issue_event_assigner : linked_user option; |
repo_issue_event_milestone : milestone_reference option; |
repo_issue_event_rename : issue_rename option; |
}
type repo_issue_events = repo_issue_event list
type repo_branches = repo_branch list
type release = {
}
type releases = release list
type release_repo = {
release_repo_user : string; |
release_repo_repo : string; |
release_repo_release : release; |
}
type release_repos = release_repo list
type release_asset = {
}
type release_assets = release_asset list
type push_event_hook_commit = {
push_event_hook_commit_id : string; |
push_event_hook_commit_tree_id : string; |
push_event_hook_commit_url : string; |
push_event_hook_commit_message : string; |
push_event_hook_commit_author : push_event_author; |
push_event_hook_commit_distinct : bool; |
}
type push_event_hook = {
push_event_hook_after : string; |
push_event_hook_created : bool; |
push_event_hook_deleted : bool; |
push_event_hook_forced : bool; |
push_event_hook_commits : push_event_hook_commit list; |
push_event_hook_head_commit : push_event_hook_commit option; |
push_event_hook_ref : string; |
push_event_hook_before : string; |
}
type push_event_commit_base = {
push_event_commit_base_url : string; |
push_event_commit_base_message : string; |
push_event_commit_base_author : push_event_author; |
push_event_commit_base_distinct : bool; |
}
type push_event_commit = {
push_event_commit_sha : string; |
push_event_commit_url : string; |
push_event_commit_message : string; |
push_event_commit_author : push_event_author; |
push_event_commit_distinct : bool; |
}
type push_event = {
push_event_head : string; |
push_event_size : int; |
push_event_commits : push_event_commit list; |
push_event_ref : string; |
push_event_before : string; |
}
type punch_cards = punch_card list
type branch = {
branch_label : string option; |
branch_ref : string; |
branch_sha : string; |
branch_user : user option; |
branch_repo : repository option; |
}
type pull = {
pull_issue_url : string; |
pull_number : int; |
pull_state : state; |
pull_title : string; |
pull_body : string; |
pull_created_at : string; |
pull_updated_at : string; |
pull_closed_at : string option; |
pull_merged_at : string option; |
pull_head : branch; |
pull_base : branch; |
pull_links : pull_links; |
pull_user : user; |
pull_merge_commit_sha : string option; |
pull_url : string; |
pull_html_url : string; |
pull_diff_url : string; |
pull_patch_url : string; |
}
type pulls = pull list
type pull_request_review_comment_action = [
| `Created |
| `Edited of body_changes |
| `Deleted |
| `Unknown of string * t option |
]
type pull_request_review_comment = {
pull_request_review_comment_diff_hunk : string; |
pull_request_review_comment_original_position : int; |
pull_request_review_comment_original_commit_id : string; |
pull_request_review_comment_pull_request_url : string; |
pull_request_review_comment_position : int option; |
pull_request_review_comment_line : int option; |
pull_request_review_comment_path : string option; |
pull_request_review_comment_commit_id : string; |
pull_request_review_comment_id : Stdlib.Int64.t; |
pull_request_review_comment_url : string; |
pull_request_review_comment_html_url : string; |
pull_request_review_comment_body : string; |
pull_request_review_comment_user : user; |
pull_request_review_comment_created_at : string; |
pull_request_review_comment_updated_at : string; |
}
type pull_request_review_comment_event = {
pull_request_review_comment_event_action : pull_request_review_comment_action; |
pull_request_review_comment_event_pull_request : pull; |
pull_request_review_comment_event_comment : pull_request_review_comment; |
}
type pull_request_action = [
| `Assigned |
| `Unassigned |
| `Labeled |
| `Unlabeled |
| `Opened |
| `Edited of ticket_changes |
| `Closed |
| `Reopened |
| `Synchronize |
| `Unknown of string * t option |
]
type pull_request_event = {
pull_request_event_action : pull_request_action; |
pull_request_event_number : int; |
pull_request_event_pull_request : pull; |
}
type page_build = {
page_build_url : string; |
page_build_status : page_build_status option; |
page_build_error : page_build_error; |
}
type orgs = org list
type organization = {
organization_name : string; |
organization_company : string; |
organization_blog : string; |
organization_location : string; |
organization_email : string; |
organization_public_repos : int; |
organization_public_gists : int; |
organization_followers : int; |
organization_following : int; |
organization_html_url : string; |
organization_created_at : string; |
organization_login : string; |
organization_id : Stdlib.Int64.t; |
organization_url : string; |
organization_ty : user_type; |
organization_avatar_url : string option; |
}
type new_status = {
new_status_state : status_state; |
new_status_target_url : string option; |
new_status_description : string option; |
new_status_context : string option; |
}
type new_repo = {
}
type new_milestone = {
new_milestone_title : string; |
new_milestone_state : state; |
new_milestone_description : string option; |
new_milestone_due_on : string option; |
}
type new_hook = {
new_hook_config : hook_config; |
new_hook_events : event_type list; |
new_hook_active : bool; |
}
type new_gist_contents = (string * new_gist_content) list
type new_gist = {
new_gist_files : new_gist_contents; |
new_gist_description : string; |
new_gist_public : bool; |
}
type milestones = milestone list
type linked_users = linked_user list
type labels = label list
type issues_action = [
| `Assigned |
| `Unassigned |
| `Labeled |
| `Unlabeled |
| `Opened |
| `Edited of ticket_changes |
| `Closed |
| `Reopened |
| `Unknown of string * t option |
]
type issues_event = {
issues_event_action : issues_action; |
issues_event_issue : issue; |
issues_event_assignee : user_info option; |
issues_event_label : label option; |
}
type issue_comment = {
issue_comment_id : Stdlib.Int64.t; |
issue_comment_url : string; |
issue_comment_html_url : string; |
issue_comment_body : string; |
issue_comment_user : user; |
issue_comment_created_at : string; |
issue_comment_updated_at : string; |
}
type issue_comments = issue_comment list
type issue_comment_action = [
| `Created |
| `Edited of body_changes |
| `Deleted |
| `Unknown of string * t option |
]
type issue_comment_event = {
issue_comment_event_action : issue_comment_action; |
issue_comment_event_issue : issue; |
issue_comment_event_comment : issue_comment; |
}
type hook = {
hook_url : string; |
hook_updated_at : string; |
hook_created_at : string; |
hook_events : event_type list; |
hook_active : bool; |
hook_config : hook_config; |
hook_id : Stdlib.Int64.t; |
}
type hooks = hook list
type git_refs = git_ref list
type gist_fork = {
gist_fork_user : user; |
gist_fork_url : string; |
gist_fork_id : Stdlib.Int64.t; |
gist_fork_created_at : string; |
gist_fork_updated_at : string; |
}
type gist_files = (string * gist_file) list
type gist_commit = {
gist_commit_url : string; |
gist_commit_version : string; |
gist_commit_user : user; |
gist_commit_change_status : change_status; |
gist_commit_committed_at : string; |
}
type gist_commits = gist_commit list
type gist = {
gist_url : string; |
gist_forks_url : string; |
gist_commits_url : string; |
gist_id : string; |
gist_description : string option; |
gist_public : bool; |
gist_owner : user; |
gist_user : string option; |
gist_files : gist_files; |
gist_comments : int; |
gist_comments_url : string; |
gist_html_url : string; |
gist_git_pull_url : string; |
gist_git_push_url : string; |
gist_created_at : string; |
gist_updated_at : string; |
gist_forks : gist_fork list option; |
gist_history : gist_commits option; |
}
type gists = gist list
type gist_forks = gist_fork list
type files = file list
type create_event = {
create_event_ref : ref; |
create_event_master_branch : string; |
create_event_description : string option; |
}
type commit_comment = {
commit_comment_position : int option; |
commit_comment_line : int option; |
commit_comment_path : string option; |
commit_comment_commit_id : string; |
commit_comment_id : Stdlib.Int64.t; |
commit_comment_url : string; |
commit_comment_html_url : string; |
commit_comment_body : string; |
commit_comment_user : user; |
commit_comment_created_at : string; |
commit_comment_updated_at : string; |
}
type event_constr = [
| `CommitComment of commit_comment_event |
| `Create of create_event |
| `Delete of delete_event |
| `Download |
| `Follow |
| `Fork of fork_event |
| `ForkApply |
| `Gist |
| `Gollum of gollum_event |
| `IssueComment of issue_comment_event |
| `Issues of issues_event |
| `Member of member_event |
| `Public |
| `PullRequest of pull_request_event |
| `PullRequestReviewComment of pull_request_review_comment_event |
| `Push of push_event |
| `Release of release_event |
| `Repository of repository_event |
| `Status of status_event |
| `Watch of watch_event |
| `Unknown of string * t option |
]
type event = {
event_public : bool; |
event_payload : event_constr; |
event_actor : user; |
event_org : org option; |
event_created_at : string; |
event_repo : repo; |
event_id : Stdlib.Int64.t; |
}
type events = event list
type event_hook_metadata = {
event_hook_metadata_sender : user; |
event_hook_metadata_organisation : org option; |
event_hook_metadata_created_at : string; |
event_hook_metadata_repository : repository; |
event_hook_metadata_id : Stdlib.Int64.t; |
}
type event_hook_constr = [
| `CommitComment of commit_comment_event |
| `Create of create_event |
| `Delete of delete_event |
| `Download |
| `Follow |
| `Fork of fork_event |
| `ForkApply |
| `Gist |
| `Gollum of gollum_event |
| `IssueComment of issue_comment_event |
| `Issues of issues_event |
| `Member of member_event |
| `Public |
| `PullRequest of pull_request_event |
| `PullRequestReviewComment of pull_request_review_comment_event |
| `Push of push_event_hook |
| `Release of release_event |
| `Repository of repository_event |
| `Status of status_event |
| `Watch of watch_event |
| `Unknown of string * t option |
]
type deploy_keys = deploy_key list
type contributor_stats = {
repo_contributor_stats_author : user option; |
repo_contributor_stats_total : int; |
repo_contributor_stats_weeks : contribution_week list; |
}
type contributors_stats = contributor_stats list
type contributor = {
contributor_contributions : int; |
contributor_html_url : string; |
contributor_login : string; |
contributor_id : Stdlib.Int64.t; |
contributor_url : string; |
contributor_avatar_url : string option; |
contributor_ty : user_type; |
}
type contributors = contributor list
type commits = commit list
type commit_activities = commit_activity list
type comment = {
comment_id : Stdlib.Int64.t; |
comment_url : string; |
comment_html_url : string; |
comment_body : string; |
comment_user : user; |
comment_created_at : string; |
comment_updated_at : string; |
}
type base_status = {
base_status_url : string; |
base_status_updated_at : string; |
base_status_created_at : string; |
base_status_id : Stdlib.Int64.t; |
base_status_state : status_state; |
base_status_target_url : string option; |
base_status_description : string option; |
base_status_context : string option; |
}
type base_statuses = base_status list
type combined_status = {
combined_status_state : status_state; |
combined_status_sha : string; |
combined_status_total_count : int; |
combined_status_statuses : base_statuses; |
combined_status_repository : repo; |
combined_status_url : string; |
combined_status_commit_url : string; |
}
type code_frequencies = code_frequency list
type check_suite_head_commit = {
id : string; |
tree_id : string; |
message : string; |
timestamp : string; |
author : check_suite_info; |
committer : check_suite_info; |
}
type check_app = {
check_run_id : Stdlib.Int64.t; |
check_run_slug : string; |
check_run_node_id : string; |
check_run_owner : user; |
check_run_name : string; |
check_run_description : string; |
check_run_external_url : string; |
check_run_html_url : string; |
check_run_created_at : string; |
check_run_updated_at : string; |
check_run_permissions : check_run_app_permissions; |
check_run_events : string list; |
}
type check_suite = {
id : int; |
node_id : string; |
head_branch : string; |
head_sha : string; |
status : check_status; |
conclusion : check_conclusion option; |
url : string; |
before : string; |
after : string; |
pull_requests : string list; |
created_at : string; |
updated_at : string; |
app : check_app; |
head_commit : check_suite_head_commit; |
latest_check_runs_count : int; |
check_runs_url : string; |
}
type check_run_pull_request = {
check_run_url : string; |
check_run_id : Stdlib.Int64.t; |
check_run_number : Stdlib.Int64.t; |
check_run_head : check_run_repo_ref; |
check_run_base : check_run_repo_ref; |
}
type check_run = {
check_run_id : Stdlib.Int64.t; |
check_run_head_sha : string; |
check_run_node_id : string; |
check_run_external_id : string; |
check_run_url : string; |
check_run_html_url : string; |
check_run_details_url : string; |
check_run_status : check_status; |
check_run_conclusion : check_conclusion option; |
check_run_started_at : string; |
check_run_completed_at : string option; |
check_run_output : check_run_output; |
check_run_name : string; |
check_run_check_suite : check_suite_id; |
check_run_app : check_app; |
check_run_pull_requests : check_run_pull_request list; |
}
type check_run_annotation = {
path : string; |
start_line : int; |
end_line : int; |
start_column : int; |
end_column : int; |
annotation_level : string; |
title : string; |
message : string; |
raw_details : string; |
blob_href : link; |
}
type check_run_annotations = check_run_annotation list
type auths = auth list
type auth_req = {
auth_req_scopes : scope list; |
auth_req_note : string; |
auth_req_note_url : string option; |
auth_req_client_id : string option; |
auth_req_client_secret : string option; |
auth_req_fingerprint : string option; |
}