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.
| Route | What it does |
|---|---|
GET /v1/orgs/:orgId/repos/:name/issues | Lists issues in one state, newest first. Pass the returned cursor to get the next page. |
POST /v1/orgs/:orgId/repos/:name/issues | Opens an issue. Issues and pull requests share one number sequence per repository. |
GET /v1/orgs/:orgId/repos/:name/issues/:number | An issue and its comments. |
PATCH /v1/orgs/:orgId/repos/:name/issues/:number | Edits the title, body or labels, or closes and reopens the issue. |
POST /v1/orgs/:orgId/repos/:name/issues/:number/comments | Adds a comment to an issue. |