> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Resolve Review Thread

- Component: `appmixer.github.list.ResolveReviewThread`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.github 4.2.0](https://connectors.appmixer.com/connector/appmixer.github/4.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.github/4.2.0/component/appmixer.github.list.ResolveReviewThread>

Mark a pull request review thread as resolved, the same as clicking 'Resolve conversation' in GitHub. Thread resolution exists only in GitHub's GraphQL API, so the input is the GraphQL thread ID emitted by List Review Threads, not a review comment ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Thread ID (`threadId`) | text | The GraphQL node ID of the review thread, for example `PRRT_kwDOAA12oc5abcde`. Take it from the Thread ID field of List Review Threads. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Thread ID (`id`) | string | - |
| Is Resolved (`isResolved`) | boolean | - |
| Is Outdated (`isOutdated`) | boolean | - |
| Path (`path`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.github.list.ResolveReviewThread",
  "label": "Resolve Review Thread",
  "description": "Mark a pull request review thread as resolved, the same as clicking 'Resolve conversation' in GitHub. Thread resolution exists only in GitHub's GraphQL API, so the input is the GraphQL thread ID emitted by List Review Threads, not a review comment ID.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:github",
    "scope": [
      "public_repo",
      "repo"
    ]
  },
  "quota": {
    "manager": "appmixer:github",
    "resources": "requests-projects",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "threadId": {
            "type": "string"
          }
        },
        "required": [
          "threadId"
        ]
      },
      "inspector": {
        "inputs": {
          "threadId": {
            "type": "text",
            "label": "Thread ID",
            "index": 1,
            "tooltip": "The GraphQL node ID of the review thread, for example `PRRT_kwDOAA12oc5abcde`. Take it from the Thread ID field of List Review Threads."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "Thread ID",
            "example": "PRRT_kwDOAA12oc5abcde"
          },
          "isResolved": {
            "type": "boolean",
            "title": "Is Resolved",
            "example": true
          },
          "isOutdated": {
            "type": "boolean",
            "title": "Is Outdated",
            "example": true
          },
          "path": {
            "type": "string",
            "title": "Path",
            "example": "src/appmixer/github/lib.js"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
