Salesforce Comments API

Get, edit, and delete comments.

Documentation

Specifications

Schemas & Data

OpenAPI Specification

salesforce-comments-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Salesforce Bulk API 2.0 Abort Comments API
  description: 'Salesforce Bulk API 2.0 is a simplified, REST-based interface for bulk data operations that improves on the original Bulk API. It uses a straightforward job model and supports CSV format for ingest and query jobs, enabling processing of millions of records asynchronously.

    '
  version: v63.0
  contact:
    name: Salesforce Developers
    url: https://developer.salesforce.com/
  license:
    name: Salesforce Developer Terms
    url: https://www.salesforce.com/company/legal/agreements/
servers:
- url: https://{instance}.salesforce.com/services/data/v{version}/jobs
  description: Salesforce Bulk API 2.0 jobs endpoint
  variables:
    instance:
      default: yourInstance
      description: 'The Salesforce instance identifier (e.g., na1, eu3, or a My Domain subdomain like mycompany).

        '
    version:
      default: '63.0'
      description: 'The Salesforce API version number (e.g., 63.0). Use the latest supported version for new integrations.

        '
security:
- BearerAuth: []
tags:
- name: Comments
  description: Get, edit, and delete comments.
paths:
  /data/v64.0/chatter/feed-elements/{FEED_ELEMENT_ID}/capabilities/comments/items:
    parameters: []
    post:
      tags:
      - Comments
      summary: Salesforce Feed Elements Capability, Comments Items
      description: 'Access comments for a feed element, or add a comment to a feed element.

        To upload a binary file to attach to a comment, you must send it in a multipart/form-data request. To send the text of the comment, you can choose to include a JSON or XML rich input body part in the multipart/form-data request. Alternately, you can choose to pass the information in request parameter parts. For information about how to create the multipart/form-data message, see Uploading Binary Files.


        https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_feed_element_capability_comments_items.htm#connect_resources_feed_element_capability_comments_items'
      operationId: FeedElementsCapability,CommentsItems
      parameters:
      - name: text
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
          examples:
          - New Comment
        example: example_value
      - name: FEED_ELEMENT_ID
        in: path
        description: ''
        required: true
        schema:
          type: string
        example: '500123'
      responses:
        '201':
          description: Created
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Wed, 22 Nov 2023 11:14:33 GMT
            Strict-Transport-Security:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: max-age=63072000; includeSubDomains
            X-Content-Type-Options:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: nosniff
            X-XSS-Protection:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: 1; mode=block
            X-Robots-Tag:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: none
            Cache-Control:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: no-cache,must-revalidate,max-age=0,no-store,private
            Vary:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Accept-Encoding
            Content-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: gzip
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                allOf:
                - $ref: '#/components/schemas/FeedElementsCapabilityCommentsItems'
                - examples:
                  - body:
                      isRichText: false
                      messageSegments:
                      - text: New Comment
                        type: Text
                      text: New Comment
                    capabilities:
                      edit:
                        isEditRestricted: false
                        isEditableByMeUrl: /services/data/v58.0/chatter/comments/0D7.../capabilities/edit/is-editable-by-me
                        lastEditedBy: null
                        lastEditedDate: null
                        latestRevision: 1
                        relativeLastEditedDate: null
                      status:
                        feedEntityStatus: Published
                        isApprovableByMe: true
                      upDownVote:
                        downVoteCount: 0
                        myVote: None
                        upVoteCount: 0
                      verified:
                        isVerifiableByMe: false
                        isVerified: false
                        isVerifiedByAnonymized: null
                        lastVerifiedByUser: null
                        lastVerifiedDate: null
                    clientInfo:
                      applicationName: Postman Playground
                      applicationUrl: null
                    createdDate: '2023-11-22T11:14:33.000Z'
                    feedElement:
                      id: 0D5...
                      url: /services/data/v58.0/chatter/feed-elements/0D5...
                    id: 0D7...
                    isDeleteRestricted: false
                    likes:
                      currentPageToken: null
                      currentPageUrl: /services/data/v58.0/chatter/comments/0D7.../likes
                      items: []
                      nextPageToken: null
                      nextPageUrl: null
                      previousPageToken: null
                      previousPageUrl: null
                      total: 0
                    likesMessage: null
                    moderationFlags: null
                    myLike: null
                    parent:
                      id: 001...
                      url: /services/data/v58.0/chatter/records/001...
                    relativeCreatedDate: Just now
                    threadLevel: 0
                    threadParentId: null
                    type: TextComment
                    url: /services/data/v58.0/chatter/comments/0D7...
                    user:
                      additionalLabel: null
                      communityNickname: User1696423780773910041
                      companyName: Salesforce
                      displayName: Name
                      firstName: Firstname
                      id: 005...
                      isActive: true
                      isInThisCommunity: true
                      lastName: Name
                      motif:
                        color: 1B96FF
                        largeIconUrl: /img/icon/profile64.png
                        mediumIconUrl: /img/icon/profile32.png
                        smallIconUrl: /img/icon/profile16.png
                        svgIconUrl: null
                      mySubscription: null
                      name: Name
                      outOfOffice:
                        message: ''
                      photo:
                        fullEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0IogXzXAXaYKJnuWCNQmXymRq?fromEmail=1
                        largePhotoUrl: https://<my_domain>/profilephoto/729.../F
                        mediumPhotoUrl: https://<my_domain>/profilephoto/729.../M
                        photoVersionId: 729...
                        smallPhotoUrl: https://<my_domain>/profilephoto/729.../T
                        standardEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0Ioi-dtynkoFWsl46as__TDFU?fromEmail=1
                        url: /services/data/v58.0/connect/user-profiles/005.../photo
                      reputation: null
                      title: null
                      type: User
                      url: /services/data/v58.0/chatter/users/005...
                      userType: Internal
                contentMediaType: application/json;charset=UTF-8
              example:
                body:
                  isRichText: false
                  messageSegments:
                  - text: New Comment
                    type: Text
                  text: New Comment
                capabilities:
                  edit:
                    isEditRestricted: false
                    isEditableByMeUrl: /services/data/v58.0/chatter/comments/0D7.../capabilities/edit/is-editable-by-me
                    lastEditedBy: null
                    lastEditedDate: null
                    latestRevision: 1
                    relativeLastEditedDate: null
                  status:
                    feedEntityStatus: Published
                    isApprovableByMe: true
                  upDownVote:
                    downVoteCount: 0
                    myVote: None
                    upVoteCount: 0
                  verified:
                    isVerifiableByMe: false
                    isVerified: false
                    isVerifiedByAnonymized: null
                    lastVerifiedByUser: null
                    lastVerifiedDate: null
                clientInfo:
                  applicationName: Postman Playground
                  applicationUrl: null
                createdDate: '2023-11-22T11:14:33.000Z'
                feedElement:
                  id: 0D5...
                  url: /services/data/v58.0/chatter/feed-elements/0D5...
                id: 0D7...
                isDeleteRestricted: false
                likes:
                  currentPageToken: null
                  currentPageUrl: /services/data/v58.0/chatter/comments/0D7.../likes
                  items: []
                  nextPageToken: null
                  nextPageUrl: null
                  previousPageToken: null
                  previousPageUrl: null
                  total: 0
                likesMessage: null
                moderationFlags: null
                myLike: null
                parent:
                  id: 001...
                  url: /services/data/v58.0/chatter/records/001...
                relativeCreatedDate: Just now
                threadLevel: 0
                threadParentId: null
                type: TextComment
                url: /services/data/v58.0/chatter/comments/0D7...
                user:
                  additionalLabel: null
                  communityNickname: User1696423780773910041
                  companyName: Salesforce
                  displayName: Name
                  firstName: Firstname
                  id: 005...
                  isActive: true
                  isInThisCommunity: true
                  lastName: Name
                  motif:
                    color: 1B96FF
                    largeIconUrl: /img/icon/profile64.png
                    mediumIconUrl: /img/icon/profile32.png
                    smallIconUrl: /img/icon/profile16.png
                    svgIconUrl: null
                  mySubscription: null
                  name: Name
                  outOfOffice:
                    message: ''
                  photo:
                    fullEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0IogXzXAXaYKJnuWCNQmXymRq?fromEmail=1
                    largePhotoUrl: https://<my_domain>/profilephoto/729.../F
                    mediumPhotoUrl: https://<my_domain>/profilephoto/729.../M
                    photoVersionId: 729...
                    smallPhotoUrl: https://<my_domain>/profilephoto/729.../T
                    standardEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0Ioi-dtynkoFWsl46as__TDFU?fromEmail=1
                    url: /services/data/v58.0/connect/user-profiles/005.../photo
                  reputation: null
                  title: null
                  type: User
                  url: /services/data/v58.0/chatter/users/005...
                  userType: Internal
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/v64.0/chatter/comments/{COMMENT_ID}:
    parameters: []
    get:
      tags:
      - Comments
      summary: Salesforce Comment
      description: 'Get information about, edit, or delete a comment.

        To post a comment, use Feed Elements Capability, Comments Items.


        https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_comments_specific.htm#connect_resources_comments_specific'
      operationId: Comment
      parameters:
      - name: COMMENT_ID
        in: path
        description: ''
        required: true
        schema:
          type: string
          examples:
          - 0D7...
        example: '500123'
      - name: Content-Type
        in: header
        description: ''
        required: true
        schema:
          const: application/json
          type: string
          examples:
          - application/json
        example: example_value
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Wed, 22 Nov 2023 11:20:42 GMT
            Strict-Transport-Security:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: max-age=63072000; includeSubDomains
            X-Content-Type-Options:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: nosniff
            X-XSS-Protection:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: 1; mode=block
            X-Robots-Tag:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: none
            Cache-Control:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: no-cache,must-revalidate,max-age=0,no-store,private
            Vary:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Accept-Encoding
            Content-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: gzip
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessfulComment'
                - examples:
                  - body:
                      isRichText: true
                      messageSegments:
                      - altText: null
                        htmlTag: p
                        markupType: Paragraph
                        text: ''
                        type: MarkupBegin
                        url: null
                      - text: Comment
                        type: Text
                      - htmlTag: p
                        markupType: Paragraph
                        text: ''
                        type: MarkupEnd
                      text: 'Comment

                        '
                    capabilities:
                      edit:
                        isEditRestricted: false
                        isEditableByMeUrl: /services/data/v58.0/chatter/comments/0D7.../capabilities/edit/is-editable-by-me
                        lastEditedBy: null
                        lastEditedDate: null
                        latestRevision: 1
                        relativeLastEditedDate: null
                      status:
                        feedEntityStatus: Published
                        isApprovableByMe: true
                      upDownVote:
                        downVoteCount: 0
                        myVote: None
                        upVoteCount: 0
                      verified:
                        isVerifiableByMe: false
                        isVerified: false
                        isVerifiedByAnonymized: null
                        lastVerifiedByUser: null
                        lastVerifiedDate: null
                    clientInfo: null
                    createdDate: '2023-11-22T11:19:50.000Z'
                    feedElement:
                      id: 0D5...
                      url: /services/data/v58.0/chatter/feed-elements/0D5...
                    id: 0D7...
                    isDeleteRestricted: false
                    likes:
                      currentPageToken: null
                      currentPageUrl: /services/data/v58.0/chatter/comments/0D7.../likes
                      items: []
                      nextPageToken: null
                      nextPageUrl: null
                      previousPageToken: null
                      previousPageUrl: null
                      total: 0
                    likesMessage: null
                    moderationFlags: null
                    myLike: null
                    parent:
                      id: 005...
                      url: /services/data/v58.0/chatter/users/005...
                    relativeCreatedDate: Just now
                    threadLevel: 0
                    threadParentId: null
                    type: TextComment
                    url: /services/data/v58.0/chatter/comments/0D7...
                    user:
                      additionalLabel: null
                      communityNickname: User1696423780773910041
                      companyName: Salesforce
                      displayName: Name
                      firstName: Firstname
                      id: 005...
                      isActive: true
                      isInThisCommunity: true
                      lastName: Name
                      motif:
                        color: 1B96FF
                        largeIconUrl: /img/icon/profile64.png
                        mediumIconUrl: /img/icon/profile32.png
                        smallIconUrl: /img/icon/profile16.png
                        svgIconUrl: null
                      mySubscription: null
                      name: Name
                      outOfOffice:
                        message: ''
                      photo:
                        fullEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0IogXzXAXaYKJnuWCNQmXymRq?fromEmail=1
                        largePhotoUrl: https://<my_domain>/profilephoto/729.../F
                        mediumPhotoUrl: https://<my_domain>/profilephoto/729.../M
                        photoVersionId: 729...
                        smallPhotoUrl: https://<my_domain>/profilephoto/729.../T
                        standardEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0Ioi-dtynkoFWsl46as__TDFU?fromEmail=1
                        url: /services/data/v58.0/connect/user-profiles/005.../photo
                      reputation: null
                      title: null
                      type: User
                      url: /services/data/v58.0/chatter/users/005...
                      userType: Internal
                contentMediaType: application/json;charset=UTF-8
              example:
                body:
                  isRichText: true
                  messageSegments:
                  - altText: null
                    htmlTag: p
                    markupType: Paragraph
                    text: ''
                    type: MarkupBegin
                    url: null
                  - text: Comment
                    type: Text
                  - htmlTag: p
                    markupType: Paragraph
                    text: ''
                    type: MarkupEnd
                  text: 'Comment

                    '
                capabilities:
                  edit:
                    isEditRestricted: false
                    isEditableByMeUrl: /services/data/v58.0/chatter/comments/0D7.../capabilities/edit/is-editable-by-me
                    lastEditedBy: null
                    lastEditedDate: null
                    latestRevision: 1
                    relativeLastEditedDate: null
                  status:
                    feedEntityStatus: Published
                    isApprovableByMe: true
                  upDownVote:
                    downVoteCount: 0
                    myVote: None
                    upVoteCount: 0
                  verified:
                    isVerifiableByMe: false
                    isVerified: false
                    isVerifiedByAnonymized: null
                    lastVerifiedByUser: null
                    lastVerifiedDate: null
                clientInfo: null
                createdDate: '2023-11-22T11:19:50.000Z'
                feedElement:
                  id: 0D5...
                  url: /services/data/v58.0/chatter/feed-elements/0D5...
                id: 0D7...
                isDeleteRestricted: false
                likes:
                  currentPageToken: null
                  currentPageUrl: /services/data/v58.0/chatter/comments/0D7.../likes
                  items: []
                  nextPageToken: null
                  nextPageUrl: null
                  previousPageToken: null
                  previousPageUrl: null
                  total: 0
                likesMessage: null
                moderationFlags: null
                myLike: null
                parent:
                  id: 005...
                  url: /services/data/v58.0/chatter/users/005...
                relativeCreatedDate: Just now
                threadLevel: 0
                threadParentId: null
                type: TextComment
                url: /services/data/v58.0/chatter/comments/0D7...
                user:
                  additionalLabel: null
                  communityNickname: User1696423780773910041
                  companyName: Salesforce
                  displayName: Name
                  firstName: Firstname
                  id: 005...
                  isActive: true
                  isInThisCommunity: true
                  lastName: Name
                  motif:
                    color: 1B96FF
                    largeIconUrl: /img/icon/profile64.png
                    mediumIconUrl: /img/icon/profile32.png
                    smallIconUrl: /img/icon/profile16.png
                    svgIconUrl: null
                  mySubscription: null
                  name: Name
                  outOfOffice:
                    message: ''
                  photo:
                    fullEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0IogXzXAXaYKJnuWCNQmXymRq?fromEmail=1
                    largePhotoUrl: https://<my_domain>/profilephoto/729.../F
                    mediumPhotoUrl: https://<my_domain>/profilephoto/729.../M
                    photoVersionId: 729...
                    smallPhotoUrl: https://<my_domain>/profilephoto/729.../T
                    standardEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0Ioi-dtynkoFWsl46as__TDFU?fromEmail=1
                    url: /services/data/v58.0/connect/user-profiles/005.../photo
                  reputation: null
                  title: null
                  type: User
                  url: /services/data/v58.0/chatter/users/005...
                  userType: Internal
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      tags:
      - Comments
      summary: Salesforce Comment - Edit
      description: 'Get information about, edit, or delete a comment.

        To post a comment, use Feed Elements Capability, Comments Items.


        https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_comments_specific.htm#connect_resources_comments_specific'
      operationId: Comment-Edit
      parameters:
      - name: COMMENT_ID
        in: path
        description: ''
        required: true
        schema:
          type: string
          examples:
          - 0D7...
        example: '500123'
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/Comment-EditRequest'
              - examples:
                - body:
                    messageSegments:
                    - type: Text
                      text: Editing a comment
              contentMediaType: application/json
            example:
              body:
                messageSegments:
                - type: Text
                  text: Editing a comment
        required: true
      responses:
        '200':
          description: OK
          headers:
            Date:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: Wed, 22 Nov 2023 11:22:36 GMT
            Strict-Transport-Security:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: max-age=63072000; includeSubDomains
            X-Content-Type-Options:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: nosniff
            X-XSS-Protection:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: 1; mode=block
            X-Robots-Tag:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: none
            Cache-Control:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: no-cache,must-revalidate,max-age=0,no-store,private
            Transfer-Encoding:
              content:
                text/plain:
                  schema:
                    type: string
                    contentMediaType: text/plain
                  example: chunked
          content:
            application/json;charset=UTF-8:
              schema:
                allOf:
                - $ref: '#/components/schemas/SuccessfulComment-Edit'
                - examples:
                  - body:
                      isRichText: false
                      messageSegments:
                      - text: Editing a comment
                        type: Text
                      text: Editing a comment
                    capabilities:
                      edit:
                        isEditRestricted: false
                        isEditableByMeUrl: /services/data/v58.0/chatter/comments/0D7.../capabilities/edit/is-editable-by-me
                        lastEditedBy:
                          additionalLabel: null
                          communityNickname: User1696423780773910041
                          companyName: Salesforce
                          displayName: Name
                          firstName: Firstname
                          id: 005...
                          isActive: true
                          isInThisCommunity: true
                          lastName: Name
                          motif:
                            color: 1B96FF
                            largeIconUrl: /img/icon/profile64.png
                            mediumIconUrl: /img/icon/profile32.png
                            smallIconUrl: /img/icon/profile16.png
                            svgIconUrl: null
                          mySubscription: null
                          name: Name
                          outOfOffice:
                            message: ''
                          photo:
                            fullEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0IogXzXAXaYKJnuWCNQmXymRq?fromEmail=1
                            largePhotoUrl: https://<my_domain>/profilephoto/7292o000000oAgZ/F
                            mediumPhotoUrl: https://<my_domain>/profilephoto/7292o000000oAgZ/M
                            photoVersionId: 729...
                            smallPhotoUrl: https://<my_domain>/profilephoto/7292o000000oAgZ/T
                            standardEmailPhotoUrl: https://<my_domain>/ncsphoto/1wsMlOd3tVC7boygqBO8wMT9KzA0D6tqzpbs-Uw0Ioi-dtynkoFWsl46as__TDFU?fromEmail=1
                            url: /services/data/v58.0/connect/user-profiles/005.../photo
                          reputation: null
                          title: null
                          type: User
                          url: /services/data/v58.0/chatter/users/005...
                          userType: Internal
                        lastEditedDate: '2023-11-22T11:22:36.000Z'
                        latestRevision: 2
                        relativeLastEditedDate: Just now
                      status:
                        feedEntityStatus: Published
                        isApprovableByMe: true
                      upDownVote:
                        downVoteCount: 0
                        myVote: None
                        upVoteCount: 0
                      verified:
                        isVerifiableByMe: false
                        isVerified: false
                        isVerifiedByAnonymized: null
                        lastVerifiedByUser: null
                        lastVerifiedDate: null
                    clientInfo: null
                    createdDate: '2023-11-22T11:19:50.000Z'
                    feedElement:
                      id: 0D5...
                      url: /services/data/v58.0/chatter/feed-elements/0D5...
                    id: 0D7...
                    isDeleteRestricted: false
                    likes:
                      currentPageToken: null
                      currentPageUrl: /services/data/v58.0/chatter/comments/0D7.../likes
                      items: []
                      nextPageToken: null
                      nextPageUrl: null

# --- truncated at 32 KB (82 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/openapi/salesforce-comments-api-openapi.yml