[API] Add type query param to filter issues and pr #3083

Closed
opened 2025-11-02 05:00:17 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @mmarif4u on GitHub (Mar 20, 2019).

Current issues API /repos/{owner}/{repo}/issues return both issues and pull requests.

Adding filter like type would enhance the output.

Issues:
/repos/{owner}/{repo}/issues?state=open&page=1&type=issues

Pull requests:
/repos/{owner}/{repo}/issues?state=open&page=1&type=pulls

Originally created by @mmarif4u on GitHub (Mar 20, 2019). Current issues API `/repos/{owner}/{repo}/issues` return both issues and pull requests. Adding filter like type would enhance the output. Issues: `/repos/{owner}/{repo}/issues?state=open&page=1&type=issues` Pull requests: `/repos/{owner}/{repo}/issues?state=open&page=1&type=pulls`
GiteaMirror added the issue/confirmedtype/enhancementmodifies/api labels 2025-11-02 05:00:17 -06:00
Author
Owner

@stale[bot] commented on GitHub (May 19, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (May 19, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@6543 commented on GitHub (Sep 21, 2020):

works: https://try.gitea.io/api/swagger#/issue/issueListIssues

@6543 commented on GitHub (Sep 21, 2020): works: https://try.gitea.io/api/swagger#/issue/issueListIssues
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3083