module GitHub::REST::Issues
Direct including types
Defined in:
githubcr/rest.crInstance Method Summary
- #add_issue_assignees(owner : String, repository : String, issue_number : Int32, payload : AssigneePayload) : Issue
- #add_labels_to_issue(owner : String, repository : String, issue_number : Int32, payload : IssueLabelPayload) : Array(Issue::Label)
- #can_assignee_be_assigned?(owner : String, repository : String, assignee : String) : Nil
- #create_issue(owner : String, repository : String, payload : IssuePayload) : Issue
- #create_issue_comment(owner : String, repository : String, issue_number : Int32, payload : CommentPayload) : Issue::Comment
- #create_label(owner : String, repository : String, payload : LabelPayload) : Issue::Label
- #delete_issue_comment(owner : String, repository : String, comment_id : Int32) : Nil
- #delete_label(owner : String, repository : String, name : String) : Nil
- #edit_issue_comment(owner : String, repository : String, issue_number : Int32, payload : CommentPayload) : Issue::Comment
- #edit_label(owner : String, repository : String, payload : LabelPayload) : Issue::Label
- #get_comment(owner : String, repository : String, comment_id : Int32) : Issue::Comment
-
#get_event
TODO Preview endpoint
- #get_issue(owner : String, repository : String, issue_number : Int32) : Issue
- #get_issue_labels(owner : String, repository : String, issue_number : Int32) : Array(Issue::Label)
- #get_label(owner : String, repository : String, name : String) : Issue::Label
- #get_milestone_issues_labels(owner : String, repository : String, milestone_number : Int32) : Array(Issue::Label)
- #get_repository_labels(owner : String, repository : String) : Array(Issue::Label)
- #list_issue_assignees(owner : String, repository : String) : Array(User)
- #list_issue_comments(owner : String, repository : String, issue_number : Int23) : Array(Issue::Comment)
-
#list_issue_events
TODO Preview endpoint
-
#list_my_assigned_issues
TODO Endpoint is unstable
-
#list_my_issues
TODO Endpoint is unstable
-
#list_my_org_assigned_issues
TODO Endpoint is unstable
-
#list_repo_issues
TODO Endpoint is unstable
- #list_repository_comments(owner : String, repository : String) : Array(Issue::Comment)
-
#list_repository_events
TODO Preview endpoint
- #lock_issue(owner : String, repository : String, issue_number : Int32, payload : IssueLockPayload | Nil = nil) : Nil
- #remove_all_labels_from_issue(owner : String, repository : String, issue_number : Int32) : Nil
- #remove_issue_assignees(owner : String, repository : String, issue_number : Int32, payload : AssigneePayload) : Issue
-
#remove_label_from_issue(owner : String, repository : String, issue_number : Int32, name : String) : Array(Issue::Label)
NOTE Returns an array of the remaining labels
- #replace_all_labels_in_issue(owner : String, repository : String, issue_number, payload : IssueLabelPayload) : Array(Issue::Label)
- #unlock_issue(owner : String, repository : String, issue_number : Int32) : Nil
- #update_issue(owner : String, repository : String, payload : IssuePayload) : Issue
Instance Method Detail
def add_issue_assignees(owner : String, repository : String, issue_number : Int32, payload : AssigneePayload) : Issue
#
def add_labels_to_issue(owner : String, repository : String, issue_number : Int32, payload : IssueLabelPayload) : Array(Issue::Label)
#
def can_assignee_be_assigned?(owner : String, repository : String, assignee : String) : Nil
#
def create_issue_comment(owner : String, repository : String, issue_number : Int32, payload : CommentPayload) : Issue::Comment
#
def delete_issue_comment(owner : String, repository : String, comment_id : Int32) : Nil
#
def edit_issue_comment(owner : String, repository : String, issue_number : Int32, payload : CommentPayload) : Issue::Comment
#
def get_comment(owner : String, repository : String, comment_id : Int32) : Issue::Comment
#
def get_issue_labels(owner : String, repository : String, issue_number : Int32) : Array(Issue::Label)
#
def get_milestone_issues_labels(owner : String, repository : String, milestone_number : Int32) : Array(Issue::Label)
#
def get_repository_labels(owner : String, repository : String) : Array(Issue::Label)
#
def list_issue_comments(owner : String, repository : String, issue_number : Int23) : Array(Issue::Comment)
#
def list_repository_comments(owner : String, repository : String) : Array(Issue::Comment)
#
def lock_issue(owner : String, repository : String, issue_number : Int32, payload : IssueLockPayload | Nil = nil) : Nil
#
def remove_all_labels_from_issue(owner : String, repository : String, issue_number : Int32) : Nil
#
def remove_issue_assignees(owner : String, repository : String, issue_number : Int32, payload : AssigneePayload) : Issue
#
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
def replace_all_labels_in_issue(owner : String, repository : String, issue_number, payload : IssueLabelPayload) : Array(Issue::Label)
#