afv-library/skills/platform-data-and-tooling-api-context-get/assets/enterprise_api/ContentVersionComment.json

76 lines
3.0 KiB
JSON

{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"wsdl_segment",
"field_reference"
],
"title": "ContentVersionComment - Data API",
"description": "Represents a comment on a version of a file. This object is available in API version 42.0 and later.",
"fields_columns": [
"type",
"properties",
"description",
"relationship_name",
"relationship_type",
"refers_to"
],
"fields": {
"ContentDocumentId": {
"type": "reference",
"properties": "Filter, Group, Sort",
"description": "ID of the file. This is a relationship field.",
"relationship_name": "ContentDocument",
"relationship_type": "Lookup",
"refers_to": "ContentDocument"
},
"ContentVersionId": {
"type": "reference",
"properties": "Filter, Group, Sort",
"description": "ID of the version of the file. This is a relationship field.",
"relationship_name": "ContentVersion",
"relationship_type": "Lookup",
"refers_to": "ContentVersion"
},
"UserComment": {
"type": "textarea",
"properties": "Filter, Nillable, Sort",
"description": "ID of the user who commented on the file."
}
},
"special_access_rules": "Only users with Modify All Data permission have access to this object.\n\nOnly users with Modify All Data permission have\n access to this object.",
"wsdl_segment": "```xml\n<complexType name=\"ContentVersionComment\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ContentDocument\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ContentDocument\"/>\n <element name=\"ContentDocumentId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ContentVersion\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ContentVersion\"/>\n <element name=\"ContentVersionId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"UserComment\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n```",
"field_reference": {
"ContentDocumentId": {
"field_label": "Content Document ID",
"type": "reference",
"length": "18"
},
"ContentVersionId": {
"field_label": "Content Version ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"Id": {
"field_label": "ContentVersionComment ID",
"type": "id",
"length": "18"
},
"UserComment": {
"field_label": "Version Comment",
"type": "textarea",
"length": "2000"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}