# Codeberg Issue API

**Canonical:** https://apis.io/apis/codeberg/codeberg-issue-api/  
**Provider:** Codeberg — https://apis.io/providers/codeberg/  
**Base URL:** https://codeberg.org/api/v1  
**Documentation:** https://codeberg.org/api/swagger

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

The issue API from Codeberg — 33 operation(s) for issue.

## Operations (60 of 67)

| Method | Path | Summary |
|---|---|---|
| GET | `/repos/issues/search` | Search for issues across the repositories that the user has access to |
| GET | `/repos/{owner}/{repo}/issues` | List a repository's issues |
| POST | `/repos/{owner}/{repo}/issues` | Create an issue. |
| GET | `/repos/{owner}/{repo}/issues/comments` | List all comments in a repository |
| GET | `/repos/{owner}/{repo}/issues/comments/{id}` | Get a comment |
| DELETE | `/repos/{owner}/{repo}/issues/comments/{id}` | Delete a comment |
| PATCH | `/repos/{owner}/{repo}/issues/comments/{id}` | Edit a comment |
| GET | `/repos/{owner}/{repo}/issues/comments/{id}/assets` | List comment's attachments |
| POST | `/repos/{owner}/{repo}/issues/comments/{id}/assets` | Create a comment attachment |
| GET | `/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}` | Get a comment attachment |
| DELETE | `/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}` | Delete a comment attachment |
| PATCH | `/repos/{owner}/{repo}/issues/comments/{id}/assets/{attachment_id}` | Edit a comment attachment |
| GET | `/repos/{owner}/{repo}/issues/comments/{id}/reactions` | Get a list of reactions from a comment of an issue |
| POST | `/repos/{owner}/{repo}/issues/comments/{id}/reactions` | Add a reaction to a comment of an issue |
| DELETE | `/repos/{owner}/{repo}/issues/comments/{id}/reactions` | Remove a reaction from a comment of an issue |
| GET | `/repos/{owner}/{repo}/issues/{index}` | Get an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}` | Delete an issue |
| PATCH | `/repos/{owner}/{repo}/issues/{index}` | Edit an issue. |
| GET | `/repos/{owner}/{repo}/issues/{index}/assets` | List issue's attachments |
| POST | `/repos/{owner}/{repo}/issues/{index}/assets` | Create an issue attachment |
| GET | `/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}` | Get an issue attachment |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}` | Delete an issue attachment |
| PATCH | `/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}` | Edit an issue attachment |
| GET | `/repos/{owner}/{repo}/issues/{index}/blocks` | List issues that are blocked by this issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/blocks` | Block the issue given in the body by the issue in path |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/blocks` | Unblock the issue given in the body by the issue in path |
| GET | `/repos/{owner}/{repo}/issues/{index}/comments` | List all comments on an issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/comments` | Add a comment to an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/comments/{id}` | Delete a comment |
| PATCH | `/repos/{owner}/{repo}/issues/{index}/comments/{id}` | Edit a comment |
| POST | `/repos/{owner}/{repo}/issues/{index}/deadline` | Set an issue deadline. If set to null, the deadline is deleted. |
| GET | `/repos/{owner}/{repo}/issues/{index}/dependencies` | List an issue's dependencies, i.e all issues that block this issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/dependencies` | Make the issue in the url depend on the issue in the form |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/dependencies` | Remove an issue dependency |
| GET | `/repos/{owner}/{repo}/issues/{index}/labels` | Get an issue's labels |
| PUT | `/repos/{owner}/{repo}/issues/{index}/labels` | Replace an issue's labels |
| POST | `/repos/{owner}/{repo}/issues/{index}/labels` | Add a label to an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/labels` | Remove all labels from an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/labels/{identifier}` | Remove a label from an issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/pin` | Pin an Issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/pin` | Unpin an Issue |
| PATCH | `/repos/{owner}/{repo}/issues/{index}/pin/{position}` | Moves the Pin to the given Position |
| GET | `/repos/{owner}/{repo}/issues/{index}/reactions` | Get a list reactions of an issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/reactions` | Add a reaction to an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/reactions` | Remove a reaction from an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/stopwatch/delete` | Delete an issue's existing stopwatch |
| POST | `/repos/{owner}/{repo}/issues/{index}/stopwatch/start` | Start stopwatch on an issue |
| POST | `/repos/{owner}/{repo}/issues/{index}/stopwatch/stop` | Stop an issue's existing stopwatch |
| GET | `/repos/{owner}/{repo}/issues/{index}/subscriptions` | Get users who subscribed on an issue |
| GET | `/repos/{owner}/{repo}/issues/{index}/subscriptions/check` | Check if user is subscribed to an issue |
| PUT | `/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}` | Subscribe user to issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/subscriptions/{user}` | Unsubscribe user from issue |
| GET | `/repos/{owner}/{repo}/issues/{index}/timeline` | List all comments and events on an issue |
| GET | `/repos/{owner}/{repo}/issues/{index}/times` | List an issue's tracked times |
| POST | `/repos/{owner}/{repo}/issues/{index}/times` | Add tracked time to a issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/times` | Reset a tracked time of an issue |
| DELETE | `/repos/{owner}/{repo}/issues/{index}/times/{id}` | Delete specific tracked time |
| GET | `/repos/{owner}/{repo}/labels` | Get all of a repository's labels |
| POST | `/repos/{owner}/{repo}/labels` | Create a label |
| GET | `/repos/{owner}/{repo}/labels/{id}` | Get a single label |

…and 7 more operations. They are listed in full on the page.

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/openapi/codeberg-issue-api-openapi.yml
- **Documentation** — https://docs.codeberg.org/advanced/api-usage/
- **APIReference** — https://codeberg.org/api/swagger
- **PostmanCollection** — https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/collections/codeberg.postman_collection.json
- **OpenCollection** — https://raw.githubusercontent.com/api-evangelist/codeberg/refs/heads/main/collections/codeberg.opencollection.json

## Other Codeberg APIs (9)

- [Codeberg Miscellaneous API](https://apis.io/apis/codeberg/codeberg-miscellaneous-api/)
- [Codeberg Activitypub API](https://apis.io/apis/codeberg/codeberg-activitypub-api/)
- [Codeberg Admin API](https://apis.io/apis/codeberg/codeberg-admin-api/)
- [Codeberg Notification API](https://apis.io/apis/codeberg/codeberg-notification-api/)
- [Codeberg Organization API](https://apis.io/apis/codeberg/codeberg-organization-api/)
- [Codeberg Package API](https://apis.io/apis/codeberg/codeberg-package-api/)
- [Codeberg Repository API](https://apis.io/apis/codeberg/codeberg-repository-api/)
- [Codeberg Settings API](https://apis.io/apis/codeberg/codeberg-settings-api/)
- [Codeberg User API](https://apis.io/apis/codeberg/codeberg-user-api/)

## Tags

Issue

---

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