Gitea · Example Payload

Gitea Rest Api Issue Example

GitSource ControlDevOpsCI/CDCode HostingOpen SourceSelf HostedPackage RegistryIssue TrackingPull Requests

Gitea Rest Api Issue Example is an example object payload from Gitea, with 12 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idnumbertitlestatebodyuserlabelsassigneescommentshtml_urlcreated_atupdated_at

Example Payload

Raw ↑
{
  "id": 42,
  "number": 7,
  "title": "Add documentation for /api/v1",
  "state": "open",
  "body": "We need API docs.",
  "user": {
    "id": 1,
    "login": "octocat"
  },
  "labels": [
    {
      "id": 1,
      "name": "documentation",
      "color": "0075ca"
    }
  ],
  "assignees": [
    {
      "id": 1,
      "login": "octocat"
    }
  ],
  "comments": 3,
  "html_url": "https://gitea.example/octocat/hello-world/issues/7",
  "created_at": "2026-04-01T12:00:00Z",
  "updated_at": "2026-04-25T14:00:00Z"
}