mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
107 lines
4.7 KiB
JSON
107 lines
4.7 KiB
JSON
|
|
{
|
||
|
|
"sections": [
|
||
|
|
"title",
|
||
|
|
"description",
|
||
|
|
"fields",
|
||
|
|
"usage",
|
||
|
|
"wsdl_segment",
|
||
|
|
"field_reference"
|
||
|
|
],
|
||
|
|
"title": "ContentDocumentHistory - Data API",
|
||
|
|
"description": "Represents the history of a document. This object is available in versions 17.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 document. This is a relationship field.",
|
||
|
|
"relationship_name": "ContentDocument",
|
||
|
|
"relationship_type": "Lookup",
|
||
|
|
"refers_to": "ContentDocument"
|
||
|
|
},
|
||
|
|
"DataType": {
|
||
|
|
"type": "picklist",
|
||
|
|
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
|
||
|
|
"description": "Data type of the field that was changed."
|
||
|
|
},
|
||
|
|
"Division": {
|
||
|
|
"type": "picklist",
|
||
|
|
"properties": "Defaulted on create, Filter, Group, Restricted picklist, Sort",
|
||
|
|
"description": "A logical segment of your organization's data. For example, if your company is organized into different business units, you could create a division for each business unit, such as “North America,” “Healthcare,” or “Consulting.” Available only if the organization has the Division permission enabled."
|
||
|
|
},
|
||
|
|
"Field": {
|
||
|
|
"type": "picklist",
|
||
|
|
"properties": "Filter, Group, Sort, Restricted picklist",
|
||
|
|
"description": "The name of the field that was changed. Possible values include: contentDocPublished—The document is published into a library. contentDocUnpublished—The document is archived or removed from a library, either directly or when the owning library is changed. contentDocRepublished—The document is removed from the archive. contentDocFeatured—The document is featured. contentDocSubscribed—The document is subscribed to. contentDocUnsubscribed—The document is no longer subscribed to."
|
||
|
|
},
|
||
|
|
"NewValue": {
|
||
|
|
"type": "anyType",
|
||
|
|
"properties": "Nillable, Sort",
|
||
|
|
"description": "The new value of the field that was changed."
|
||
|
|
},
|
||
|
|
"OldValue": {
|
||
|
|
"type": "anyType",
|
||
|
|
"properties": "Nillable, Sort",
|
||
|
|
"description": "The latest value of the field before it was changed."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"usage": "Use this read-only object to query the history of a document.",
|
||
|
|
"wsdl_segment": "```xml\n<complexType name=\"ContentDocumentHistory\">\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=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\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=\"DataType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Field\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"NewValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:anyType\"/>\n <element name=\"OldValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:anyType\"/>\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"
|
||
|
|
},
|
||
|
|
"CreatedById": {
|
||
|
|
"field_label": "Created By ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"CreatedDate": {
|
||
|
|
"field_label": "Created Date",
|
||
|
|
"type": "datetime"
|
||
|
|
},
|
||
|
|
"DataType": {
|
||
|
|
"field_label": "Datatype",
|
||
|
|
"type": "picklist",
|
||
|
|
"length": "40"
|
||
|
|
},
|
||
|
|
"Field": {
|
||
|
|
"field_label": "Changed Field",
|
||
|
|
"type": "picklist",
|
||
|
|
"length": "255"
|
||
|
|
},
|
||
|
|
"Id": {
|
||
|
|
"field_label": "Content Document ID",
|
||
|
|
"type": "id",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"IsDeleted": {
|
||
|
|
"field_label": "Deleted",
|
||
|
|
"type": "boolean"
|
||
|
|
},
|
||
|
|
"NewValue": {
|
||
|
|
"field_label": "New Value",
|
||
|
|
"type": "anyType",
|
||
|
|
"length": "255"
|
||
|
|
},
|
||
|
|
"OldValue": {
|
||
|
|
"field_label": "Old Value",
|
||
|
|
"type": "anyType",
|
||
|
|
"length": "255"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"field_reference_columns": [
|
||
|
|
"field_label",
|
||
|
|
"type",
|
||
|
|
"length"
|
||
|
|
]
|
||
|
|
}
|