Gitea · JSON Structure

Gitea Rest Api Notificationthread Structure

JSON Structure description of the Gitea NotificationThread entity.

Type: object Properties: 7
GitSource ControlDevOpsCI/CDCode HostingOpen SourceSelf HostedPackage RegistryIssue TrackingPull Requests

NotificationThread is a JSON Structure definition published by Gitea, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id pinned repository subject unread updated_at url

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitea/refs/heads/main/json-structure/gitea-rest-api-notificationthread-structure.json",
  "name": "NotificationThread",
  "description": "JSON Structure description of the Gitea NotificationThread entity.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "ID is the unique identifier for the notification thread",
      "format": "int64"
    },
    "pinned": {
      "type": "boolean",
      "description": "Pinned indicates if the notification is pinned"
    },
    "repository": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "unread": {
      "type": "boolean",
      "description": "Unread indicates if the notification has been read"
    },
    "updated_at": {
      "type": "string",
      "description": "UpdatedAt is the time when the notification was last updated",
      "format": "date-time"
    },
    "url": {
      "type": "string",
      "description": "URL is the API URL for this notification thread"
    }
  }
}