PATCH
/
{team_id}
/
comments
/
{comment_id}
/
children
/
{child_comment_id}
Update a child comment
curl --request PATCH \
  --url https://api.superthread.com/v1/{team_id}/comments/{comment_id}/children/{child_comment_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "Sounds great!",
  "schema": 1
}'
{
  "child_comment": {
    "id": "42",
    "type": "comment",
    "content": "Good point!",
    "schema": 1,
    "page_id": "431",
    "card_id": "433",
    "user_id": "u-dsu0j19",
    "user": {
      "user_id": "uDsu0j19",
      "type": "user",
      "source": {
        "type": "oauth",
        "client_id": "oczapier",
        "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
        "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
        "email_addr": "[email protected]",
        "email_verified": false
      }
    },
    "user_updated": {
      "user_id": "uDsu0j19",
      "type": "user",
      "source": {
        "type": "oauth",
        "client_id": "oczapier",
        "import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
        "agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
        "email_addr": "[email protected]",
        "email_verified": false
      }
    },
    "team_id": "u-dsu0j19",
    "time_created": 1608742037016,
    "time_updated": 1608742037016,
    "reactions": [
      {
        "id": "sweat_smile",
        "unicode": "<string>",
        "members": [
          {
            "user_id": "<string>",
            "time_created": 1608742037016,
            "variation": "<string>"
          }
        ]
      }
    ],
    "parent_id": "1"
  }
}

Path Parameters

team_id
string
required

Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".

comment_id
string
required

Comment ID is a numerical string that identifies a Comment.

child_comment_id
string
required

Child comment ID

Body

application/json

Update request

The body is of type object.

Response

200
application/json

comment updated

The response is of type object.