# Gogs Issues API

**Canonical:** https://apis.io/apis/gogs/gogs-issues-api/  
**Provider:** Gogs — https://apis.io/providers/gogs/  
**Base URL:** https://gogs.example.com/api/v1  
**Documentation:** https://gogs.io/api-reference/introduction

Gogs Issues API is one of 10 APIs that [Gogs](https://apis.io/providers/gogs/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Issues. The published artifact set on APIs.io includes an OpenAPI specification.

Manage issues, comments, labels, and milestones

## Operations (25)

| Method | Path | Summary |
|---|---|---|
| GET | `/repos/{owner}/{repo}/issues` | List issues for a repository |
| POST | `/repos/{owner}/{repo}/issues` | Create an issue |
| GET | `/repos/{owner}/{repo}/issues/{index}` | Get a single issue |
| PATCH | `/repos/{owner}/{repo}/issues/{index}` | Edit an issue |
| GET | `/repos/{owner}/{repo}/issues/{index}/comments` | List comments on an issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/comments` | Create a comment |
| GET | `/repos/{owner}/{repo}/issues/comments` | List comments in a repository |
| PATCH | `/repos/{owner}/{repo}/issues/{index}/comments/{id}` | Edit a comment |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/comments/{id}` | Delete a comment |
| GET | `/repos/{owner}/{repo}/labels` | List all labels for a repository |
| POST | `/repos/{owner}/{repo}/labels` | Create a label |
| GET | `/repos/{owner}/{repo}/labels/{id}` | Get a single label |
| PATCH | `/repos/{owner}/{repo}/labels/{id}` | Update a label |
| DELETE | `/repos/{owner}/{repo}/labels/{id}` | Delete a label |
| GET | `/repos/{owner}/{repo}/issues/{index}/labels` | List labels on an issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/labels` | Add labels to an issue |
| PUT | `/repos/{owner}/{repo}/issues/{index}/labels` | Replace all labels for an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/labels` | Remove all labels from an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/labels/{id}` | Remove a label from an issue |
| GET | `/repos/{owner}/{repo}/milestones` | List milestones for a repository |
| POST | `/repos/{owner}/{repo}/milestones` | Create a milestone |
| GET | `/repos/{owner}/{repo}/milestones/{id}` | Get a single milestone |
| PATCH | `/repos/{owner}/{repo}/milestones/{id}` | Edit a milestone |
| DELETE | `/repos/{owner}/{repo}/milestones/{id}` | Delete a milestone |
| GET | `/user/issues` | List issues assigned to the authenticated user |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/gogs/refs/heads/main/openapi/gogs-issues-api-openapi.yml

## Other Gogs APIs (9)

- [Gogs API](https://apis.io/apis/gogs/gogs-api/)
- [Gogs Administration API](https://apis.io/apis/gogs/gogs-administration-api/)
- [Gogs Collaborators and Deploy Keys API](https://apis.io/apis/gogs/gogs-collaborators-and-deploy-keys-api/)
- [Gogs Miscellaneous API](https://apis.io/apis/gogs/gogs-miscellaneous-api/)
- [Gogs Organizations API](https://apis.io/apis/gogs/gogs-organizations-api/)
- [Gogs Releases API](https://apis.io/apis/gogs/gogs-releases-api/)
- [Gogs Repositories API](https://apis.io/apis/gogs/gogs-repositories-api/)
- [Gogs Users API](https://apis.io/apis/gogs/gogs-users-api/)
- [Gogs Webhooks API](https://apis.io/apis/gogs/gogs-webhooks-api/)

## Tags

Issues

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/gogs/gogs-issues-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/gogs/.
