Properties
| Name | Type | Description |
|---|---|---|
| id | integer | The unique comment identifier. |
| attachments | array | File attachments on the comment. |
| body | string | The comment body text. |
| context | object | Inline context for file-level comments. |
| edited | integer | Unix timestamp of the last edit, or null if not edited. |
| flags | array | Flags applied to the comment. |
| likes | array | Usernames of users who liked the comment. |
| taskState | string | The task state of the comment. |
| time | integer | Unix timestamp when the comment was created. |
| topic | string | The topic the comment belongs to, such as reviews/1234. |
| updated | integer | Unix timestamp of the last update. |
| user | string | The username of the comment author. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Comment",
"type": "object",
"description": "A comment on a review, changelist, or other topic in Helix Swarm.",
"properties": {
"id": {
"type": "integer",
"description": "The unique comment identifier."
},
"attachments": {
"type": "array",
"description": "File attachments on the comment."
},
"body": {
"type": "string",
"description": "The comment body text."
},
"context": {
"type": "object",
"description": "Inline context for file-level comments."
},
"edited": {
"type": "integer",
"description": "Unix timestamp of the last edit, or null if not edited."
},
"flags": {
"type": "array",
"description": "Flags applied to the comment."
},
"likes": {
"type": "array",
"description": "Usernames of users who liked the comment."
},
"taskState": {
"type": "string",
"description": "The task state of the comment."
},
"time": {
"type": "integer",
"description": "Unix timestamp when the comment was created."
},
"topic": {
"type": "string",
"description": "The topic the comment belongs to, such as reviews/1234."
},
"updated": {
"type": "integer",
"description": "Unix timestamp of the last update."
},
"user": {
"type": "string",
"description": "The username of the comment author."
}
}
}