API

Issues

List, open, comment on and close issues.

See Issues.

Every route below, with its parameters, request and response, errors and samples, is in the API reference.

RouteWhat it does
GET /v1/orgs/:orgId/repos/:name/issuesLists issues in one state, newest first. Pass the returned cursor to get the next page.
POST /v1/orgs/:orgId/repos/:name/issuesOpens an issue. Issues and pull requests share one number sequence per repository.
GET /v1/orgs/:orgId/repos/:name/issues/:numberAn issue and its comments.
PATCH /v1/orgs/:orgId/repos/:name/issues/:numberEdits the title, body or labels, or closes and reopens the issue.
POST /v1/orgs/:orgId/repos/:name/issues/:number/commentsAdds a comment to an issue.