Issue wraps the functionality to get issues for repositories
Create a new Issue
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
repository | string | the full name of the repository ( | ||
auth | Requestable.auth | <optional> | information required to authenticate to Github | |
apiBase | string | <optional> | https://api.github.com | the base Github API URL |
Create a new issue
| Name | Type | Attributes | Description |
|---|---|---|---|
issueData | Object | the issue to create | |
cb | Requestable.callback | <optional> | will receive the created issue |
Comment on an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
issue | number | the id of the issue to comment on | |
comment | string | the comment to add | |
cb | Requestable.callback | <optional> | will receive the created comment |
Create a new label
| Name | Type | Attributes | Description |
|---|---|---|---|
labelData | Object | the label definition | |
cb | Requestable.callback | <optional> | will receive the object representing the label |
Create a new milestone
| Name | Type | Attributes | Description |
|---|---|---|---|
milestoneData | Object | the milestone definition | |
cb | Requestable.callback | <optional> | will receive the milestone |
Delete a comment on an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
id | number | the comment id to delete | |
cb | Requestable.callback | <optional> | will receive true if the request is successful |
Delete a label
| Name | Type | Attributes | Description |
|---|---|---|---|
label | string | the name of the label to delete | |
cb | Requestable.callback | <optional> | will receive the status |
Delete a milestone (this is distinct from closing a milestone)
| Name | Type | Attributes | Description |
|---|---|---|---|
milestone | string | the id of the milestone to delete | |
cb | Requestable.callback | <optional> | will receive the status |
Edit an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
issue | number | the issue number to edit | |
issueData | Object | the new issue data | |
cb | Requestable.callback | <optional> | will receive the modified issue |
Edit a comment on an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
id | number | the comment id to edit | |
comment | string | the comment to edit | |
cb | Requestable.callback | <optional> | will receive the edited comment |
Edit a label
| Name | Type | Attributes | Description |
|---|---|---|---|
label | string | the name of the label to edit | |
labelData | Object | the updates to make to the label | |
cb | Requestable.callback | <optional> | will receive the updated label |
Edit a milestone
| Name | Type | Attributes | Description |
|---|---|---|---|
milestone | string | the id of the milestone to edit | |
milestoneData | Object | the updates to make to the milestone | |
cb | Requestable.callback | <optional> | will receive the updated milestone |
Get a particular issue
| Name | Type | Attributes | Description |
|---|---|---|---|
issue | number | the issue number to fetch | |
cb | Requestable.callback | <optional> | will receive the issue |
Get a single comment on an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
id | number | the comment id to get | |
cb | Requestable.callback | <optional> | will receive the comment |
Get a label
| Name | Type | Attributes | Description |
|---|---|---|---|
label | string | the name of the label to fetch | |
cb | Requestable.callback | <optional> | will receive the label |
Get a milestone
| Name | Type | Attributes | Description |
|---|---|---|---|
milestone | string | the id of the milestone to fetch | |
cb | Requestable.callback | <optional> | will receive the milestone |
List comments on an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
issue | number | the id of the issue to get comments from | |
cb | Requestable.callback | <optional> | will receive the comments |
List the events for an issue
| Name | Type | Attributes | Description |
|---|---|---|---|
issue | number | the issue to get events for | |
cb | Requestable.callback | <optional> | will receive the list of events |
List the issues for the repository
| Name | Type | Attributes | Description |
|---|---|---|---|
options | Object | filtering options | |
cb | Requestable.callback | <optional> | will receive the array of issues |
List the labels for the repository
| Name | Type | Attributes | Description |
|---|---|---|---|
options | Object | filtering options | |
cb | Requestable.callback | <optional> | will receive the array of labels |
List the milestones for the repository
| Name | Type | Attributes | Description |
|---|---|---|---|
options | Object | filtering options | |
cb | Requestable.callback | <optional> | will receive the array of milestones |