module GitHub::REST::Issues

Direct including types

Defined in:

githubcr/rest.cr

Instance Method Summary

Instance Method Detail

def add_issue_assignees(owner : String, repository : String, issue_number : Int32, payload : AssigneePayload) : Issue #

[View source]
def add_labels_to_issue(owner : String, repository : String, issue_number : Int32, payload : IssueLabelPayload) : Array(Issue::Label) #

[View source]
def can_assignee_be_assigned?(owner : String, repository : String, assignee : String) : Nil #

[View source]
def create_issue(owner : String, repository : String, payload : IssuePayload) : Issue #

[View source]
def create_issue_comment(owner : String, repository : String, issue_number : Int32, payload : CommentPayload) : Issue::Comment #

[View source]
def create_label(owner : String, repository : String, payload : LabelPayload) : Issue::Label #

[View source]
def delete_issue_comment(owner : String, repository : String, comment_id : Int32) : Nil #

[View source]
def delete_label(owner : String, repository : String, name : String) : Nil #

[View source]
def edit_issue_comment(owner : String, repository : String, issue_number : Int32, payload : CommentPayload) : Issue::Comment #

[View source]
def edit_label(owner : String, repository : String, payload : LabelPayload) : Issue::Label #

[View source]
def get_comment(owner : String, repository : String, comment_id : Int32) : Issue::Comment #

[View source]
def get_event #

TODO Preview endpoint


[View source]
def get_issue(owner : String, repository : String, issue_number : Int32) : Issue #

[View source]
def get_issue_labels(owner : String, repository : String, issue_number : Int32) : Array(Issue::Label) #

[View source]
def get_label(owner : String, repository : String, name : String) : Issue::Label #

[View source]
def get_milestone_issues_labels(owner : String, repository : String, milestone_number : Int32) : Array(Issue::Label) #

[View source]
def get_repository_labels(owner : String, repository : String) : Array(Issue::Label) #

[View source]
def list_issue_assignees(owner : String, repository : String) : Array(User) #

[View source]
def list_issue_comments(owner : String, repository : String, issue_number : Int23) : Array(Issue::Comment) #

[View source]
def list_issue_events #

TODO Preview endpoint


[View source]
def list_my_assigned_issues #

TODO Endpoint is unstable


[View source]
def list_my_issues #

TODO Endpoint is unstable


[View source]
def list_my_org_assigned_issues #

TODO Endpoint is unstable


[View source]
def list_repo_issues #

TODO Endpoint is unstable


[View source]
def list_repository_comments(owner : String, repository : String) : Array(Issue::Comment) #

[View source]
def list_repository_events #

TODO Preview endpoint


[View source]
def lock_issue(owner : String, repository : String, issue_number : Int32, payload : IssueLockPayload | Nil = nil) : Nil #

[View source]
def remove_all_labels_from_issue(owner : String, repository : String, issue_number : Int32) : Nil #

[View source]
def remove_issue_assignees(owner : String, repository : String, issue_number : Int32, payload : AssigneePayload) : Issue #

[View source]
def remove_label_from_issue(owner : String, repository : String, issue_number : Int32, name : String) : Array(Issue::Label) #

NOTE Returns an array of the remaining labels


[View source]
def replace_all_labels_in_issue(owner : String, repository : String, issue_number, payload : IssueLabelPayload) : Array(Issue::Label) #

[View source]
def unlock_issue(owner : String, repository : String, issue_number : Int32) : Nil #

[View source]
def update_issue(owner : String, repository : String, payload : IssuePayload) : Issue #

[View source]