PATCH
/
api
/
v1
/
comment
/
{id}
curl --request PATCH \
  --url https://api.bundle.social/api/v1/comment/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "text": "<string>",
  "internalPostId": "<string>",
  "internalParentCommentId": "<string>",
  "postDate": "<string>",
  "status": "DRAFT",
  "socialAccountTypes": [
    "TIKTOK"
  ],
  "data": {
    "FACEBOOK": {
      "text": "<string>"
    },
    "INSTAGRAM": {
      "text": "<string>"
    },
    "THREADS": {
      "text": "<string>"
    },
    "TIKTOK": {
      "text": "<string>"
    },
    "LINKEDIN": {
      "text": "<string>"
    },
    "YOUTUBE": {
      "text": "<string>"
    },
    "REDDIT": {
      "text": "<string>"
    },
    "MASTODON": {
      "text": "<string>"
    },
    "DISCORD": {
      "text": "<string>"
    },
    "SLACK": {
      "text": "<string>"
    }
  }
}'
{
  "id": "<string>",
  "teamId": "<string>",
  "internalPostId": "<string>",
  "internalParentCommentId": "<string>",
  "text": "<string>",
  "postDate": "2023-11-07T05:31:56Z",
  "postedDate": "2023-11-07T05:31:56Z",
  "status": "DRAFT",
  "data": {
    "FACEBOOK": {
      "text": "<string>"
    },
    "INSTAGRAM": {
      "text": "<string>"
    },
    "THREADS": {
      "text": "<string>"
    },
    "TIKTOK": {
      "text": "<string>"
    },
    "LINKEDIN": {
      "text": "<string>"
    },
    "YOUTUBE": {
      "text": "<string>"
    },
    "REDDIT": {
      "text": "<string>"
    },
    "MASTODON": {
      "text": "<string>"
    },
    "DISCORD": {
      "text": "<string>"
    },
    "SLACK": {
      "text": "<string>"
    }
  },
  "error": "<string>",
  "errors": {
    "FACEBOOK": "<string>",
    "INSTAGRAM": "<string>",
    "TIKTOK": "<string>",
    "LINKEDIN": "<string>",
    "REDDIT": "<string>",
    "YOUTUBE": "<string>",
    "MASTODON": "<string>",
    "THREADS": "<string>",
    "DISCORD": "<string>",
    "SLACK": "<string>"
  },
  "externalData": {
    "FACEBOOK": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "INSTAGRAM": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "TIKTOK": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "LINKEDIN": {
      "id": "<string>",
      "commentUrn": "<string>",
      "permalink": "<string>"
    },
    "REDDIT": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "YOUTUBE": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "MASTODON": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "THREADS": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "DISCORD": {
      "id": "<string>",
      "permalink": "<string>"
    },
    "SLACK": {
      "id": "<string>",
      "permalink": "<string>"
    }
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Body

application/json

Body

The body is of type object.

Response

200
application/json

200

The response is of type object.