Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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 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 : Int64.t;
user_info_url : string;
user_info_avatar_url : string option;
}
type user = {
user_login : string;
user_id : Int64.t;
user_url : string;
user_avatar_url : string option;
}
type update_pull = {
update_pull_title : string option;
update_pull_body : string option;
update_pull_state : state 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_hook = {
update_hook_config : hook_config;
update_hook_events : event_type list option;
update_hook_active : bool;
}
type teams = team list
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 : 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 : 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_id : 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_url : string;
status_updated_at : string;
status_created_at : string;
status_id : Int64.t;
status_state : status_state;
status_target_url : string option;
status_description : string option;
status_creator : user;
}
type statuses = status list
type commit = {
commit_url : string;
commit_sha : string;
commit_git : git_commit;
commit_committer : user option;
}
type status_event = {
status_event_sha : string;
status_event_target_url : string option;
status_event_description : string option;
status_event_state : status_state;
status_event_commit : commit;
status_event_branches : status_branch list;
}
type scope = [
| `User
| `User_email
| `User_follow
| `Public_repo
| `Repo
| `Repo_deployment
| `Repo_status
| `Delete_repo
| `Notifications
| `Gist
| `Read_repo_hook
| `Write_repo_hook
| `Admin_repo_hook
| `Admin_org_hook
| `Read_org
| `Write_org
| `Admin_org
| `Read_public_key
| `Write_public_key
| `Admin_public_key
]
type repositories = repository list
type repository_search = {
repository_search_total_count : int;
repository_search_incomplete_results : bool;
repository_search_items : repositories;
}
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 repo_branches = repo_branch list
type release = {
release_id : Int64.t;
release_tag_name : string;
release_target_commitish : string option;
release_name : string option;
release_body : string option;
release_draft : bool;
release_prerelease : bool;
release_created_at : string;
release_published_at : string;
release_url : string;
release_html_url : string;
release_assets_url : string;
release_upload_url : string;
}
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 push_event = {
push_event_head : string;
push_event_ref : string;
push_event_size : int;
push_event_commits : push_event_commit list;
}
type branch = {
branch_label : string;
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_url : string;
pull_html_url : string;
pull_diff_url : string;
pull_patch_url : string;
}
type pulls = pull list
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 : 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_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 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 : Int64.t;
organization_url : string;
organization_avatar_url : string option;
}
type new_status = {
new_status_state : status_state;
new_status_target_url : string option;
new_status_description : string option;
}
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_user = {
linked_user_html_url : string;
linked_user_login : string;
linked_user_id : Int64.t;
linked_user_url : string;
linked_user_avatar_url : string option;
}
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 issues_event = {
issues_event_action : issues_action;
issues_event_issue : issue;
issues_event_assignee : user_info option;
issues_event_label : label option;
}
type issues = issue list
type issue_comments = issue_comment list
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 : Int64.t;
}
type hooks = hook list
type git_refs = git_ref list
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 : 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
| `Status of status_event
| `Watch of watch_event
]
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 : Int64.t;
}
type events = event list
type deploy_key = {
deploy_key_id : Int64.t;
deploy_key_key : string;
deploy_key_url : string;
deploy_key_title : string;
}
type deploy_keys = deploy_key list
type commits = commit 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;
}