mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
133 lines
5.5 KiB
JSON
133 lines
5.5 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"wsdl_segment",
|
|
"field_reference"
|
|
],
|
|
"title": "ContentFolderItem - Data API",
|
|
"description": "Represents a file (ContentDocument) or folder (ContentFolder) that resides in a ContentFolder in a ContentWorkspace. This object is available in API version 35.0 and later.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description",
|
|
"relationship_name",
|
|
"relationship_type",
|
|
"refers_to"
|
|
],
|
|
"fields": {
|
|
"ContentSize": {
|
|
"type": "int",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "The size of the file or folder in bytes, when the size is smaller than 2 GB. In API version 66.0 and later, we recommend that you use the ContentSizeLong field even for files smaller than 2 GB."
|
|
},
|
|
"ContentSizeLong": {
|
|
"type": "long",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "The size of the file or folder in bytes up to 10 GB. This field is available in API version 66.0 and later."
|
|
},
|
|
"FileExtension": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "Specifies the file extension if the ContentFolderItem is a file."
|
|
},
|
|
"FileType": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "Specifies the type of file if the ContentFolderItem is a file."
|
|
},
|
|
"IsFolder": {
|
|
"type": "boolean",
|
|
"properties": "Defaulted on create, Filter, Group, Sort",
|
|
"description": "Indicates that the ContentFolderItem is a folder, and not a file."
|
|
},
|
|
"ParentContentFolderId": {
|
|
"type": "reference",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "The ID of the ContentFolder that the ContentFolderItem resides in. This is a relationship field.",
|
|
"relationship_name": "ParentContentFolder",
|
|
"relationship_type": "Lookup",
|
|
"refers_to": "ContentFolder"
|
|
},
|
|
"Title": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Sort",
|
|
"description": "The name of the file or folder."
|
|
}
|
|
},
|
|
"wsdl_segment": "```xml\n<complexType name=\"ContentFolderItem\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ContentSize\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"ContentSizeLong\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:long\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"FileExtension\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FileType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"IsFolder\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"ParentContentFolder\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ContentFolder\"/>\n <element name=\"ParentContentFolderId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Title\" 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": {
|
|
"ContentSize": {
|
|
"field_label": "Size",
|
|
"type": "int",
|
|
"digits": "9"
|
|
},
|
|
"ContentSizeLong": {
|
|
"field_label": "Size",
|
|
"type": "long",
|
|
"digits": "18"
|
|
},
|
|
"CreatedById": {
|
|
"field_label": "Created By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"CreatedDate": {
|
|
"field_label": "Created Date",
|
|
"type": "datetime"
|
|
},
|
|
"FileExtension": {
|
|
"field_label": "File Extension",
|
|
"type": "string",
|
|
"length": "40"
|
|
},
|
|
"FileType": {
|
|
"field_label": "File Type",
|
|
"type": "string",
|
|
"length": "20"
|
|
},
|
|
"Id": {
|
|
"field_label": "Content Folder Item ID",
|
|
"type": "id",
|
|
"length": "18"
|
|
},
|
|
"IsDeleted": {
|
|
"field_label": "Deleted",
|
|
"type": "boolean"
|
|
},
|
|
"IsFolder": {
|
|
"field_label": "Is Folder",
|
|
"type": "boolean"
|
|
},
|
|
"LastModifiedById": {
|
|
"field_label": "Last Modified By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"LastModifiedDate": {
|
|
"field_label": "Last Modified Date",
|
|
"type": "datetime"
|
|
},
|
|
"ParentContentFolderId": {
|
|
"field_label": "Parent Content Folder ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"SystemModstamp": {
|
|
"field_label": "System Modstamp",
|
|
"type": "datetime"
|
|
},
|
|
"Title": {
|
|
"field_label": "Title",
|
|
"type": "string",
|
|
"length": "255"
|
|
}
|
|
},
|
|
"field_reference_columns": [
|
|
"field_label",
|
|
"type",
|
|
"digits",
|
|
"length"
|
|
]
|
|
} |