Azure DevOps · Schema
GitPullRequestCommentThread
A comment thread on a pull request
AgileCI/CDDevOpsProject ManagementVersion Control
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Thread ID |
| publishedDate | string | |
| lastUpdatedDate | string | |
| comments | array | Comments in this thread |
| status | string | Thread status |
| threadContext | object | Location in the diff where this thread was created |
| pullRequestThreadContext | object | Pull request context for the thread |
| isDeleted | boolean | |
| url | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GitPullRequestCommentThread",
"title": "GitPullRequestCommentThread",
"type": "object",
"description": "A comment thread on a pull request",
"properties": {
"id": {
"type": "integer",
"description": "Thread ID"
},
"publishedDate": {
"type": "string",
"format": "date-time"
},
"lastUpdatedDate": {
"type": "string",
"format": "date-time"
},
"comments": {
"type": "array",
"description": "Comments in this thread",
"items": {
"$ref": "#/components/schemas/Comment"
}
},
"status": {
"type": "string",
"description": "Thread status",
"enum": [
"unknown",
"active",
"byDesign",
"closed",
"fixed",
"wontFix",
"pending"
]
},
"threadContext": {
"type": "object",
"description": "Location in the diff where this thread was created",
"properties": {
"filePath": {
"type": "string"
},
"rightFileStart": {
"type": "object",
"properties": {
"line": {
"type": "integer"
},
"offset": {
"type": "integer"
}
}
},
"rightFileEnd": {
"type": "object",
"properties": {
"line": {
"type": "integer"
},
"offset": {
"type": "integer"
}
}
}
}
},
"pullRequestThreadContext": {
"type": "object",
"description": "Pull request context for the thread"
},
"isDeleted": {
"type": "boolean"
},
"url": {
"type": "string",
"format": "uri"
}
}
}