Skip to content

SharedSpaceCommentCreateDto

Endpoints · All schemas

FieldRequiredDescription
assetIdNoThe item to comment on. Left out, the comment is on the space itself.
commentYesThe text. Mention a member with @{userId}; every mention must name a current member.
parentIdNoReply to this comment. Replying to a reply joins the same thread, under its top-level comment. A reply is on the same item as the comment it answers.

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "assetId": {
      "description": "The item to comment on. Left out, the comment is on the space itself.",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    },
    "comment": {
      "description": "The text. Mention a member with @{userId}; every mention must name a current member.",
      "maxLength": 4000,
      "minLength": 1,
      "type": "string"
    },
    "parentId": {
      "description": "Reply to this comment. Replying to a reply joins the same thread, under its top-level comment. A reply is on the same item as the comment it answers.",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
      "type": "string"
    }
  },
  "required": [
    "comment"
  ],
  "type": "object"
}