Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| repository | object | |
| subject | object | |
| reason | string | |
| unread | boolean | |
| updated_at | string | |
| last_read_at | string | |
| url | string | |
| subscription_url | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-notifications-thread-schema.json",
"title": "thread",
"description": "Thread",
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "12345678"
},
"repository": {
"$ref": "#/components/schemas/minimal-repository"
},
"subject": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"latest_comment_url": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"title",
"url",
"latest_comment_url",
"type"
]
},
"reason": {
"type": "string",
"example": "example_value"
},
"unread": {
"type": "boolean",
"example": true
},
"updated_at": {
"type": "string",
"example": "2026-04-17T12:00:00Z"
},
"last_read_at": {
"type": "string",
"nullable": true,
"example": "2026-04-17T12:00:00Z"
},
"url": {
"type": "string",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"subscription_url": {
"type": "string",
"example": "https://api.github.com/notifications/threads/2/subscription"
}
},
"required": [
"id",
"unread",
"reason",
"updated_at",
"last_read_at",
"subject",
"repository",
"url",
"subscription_url"
]
}