Get issues by repository
Retrieve all issues for a specific repository. GET/api/issues
Authentication: Not required
Parameters
The username of the repository owner
The name of the repository
Response
Returns an array of issue objects.Unique identifier for the issue
ID of the repository this issue belongs to
Full repository name in the format
owner/repoIssue number within the repository
Issue title
Issue description body
Issue status, either
open or closedUser ID of the issue creator
Username of the issue creator
Timestamp when the issue was created (milliseconds)
Timestamp when the issue was last updated (milliseconds)
Example request
Example response
Get issue by number
Retrieve a specific issue by its number within a repository. GET/api/issues/:number
Authentication: Not required
Parameters
The username of the repository owner
The name of the repository
The issue number
Response
Returns a single issue object with the same fields as the list endpoint.Example request
Example response
Error responses
- 404 Not Found: Issue not found for the specified owner, repository, and number
- 400 Bad Request: Invalid owner, repository name, or issue number provided
Create issue
Create a new issue in a repository. POST/api/issues
Authentication: Required
Parameters
The username of the repository owner
The name of the repository
The title of the issue
The description body of the issue
Response
Returns the created issue object.Example request
Example response
Error responses
- 401 Unauthorized: You must be logged in to create an issue
- 404 Not Found: Repository not found
- 400 Bad Request: Invalid owner or repository name provided
Update issue status
Update the status of an issue (open or closed). Only the issue creator can update the status. POST/api/issues/status
Authentication: Required
Parameters
The ID of the issue to update
The new status for the issue. Must be either
open or closedResponse
Returns the updated issue object.Example request
Example response
Error responses
- 401 Unauthorized: You must be logged in or you don’t have permission to update this issue
- 404 Not Found: Issue not found
- 400 Bad Request: Invalid issue ID or status value provided