Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.95 KB

File metadata and controls

42 lines (33 loc) · 1.95 KB

DocumentVersionResponse

DocumentVersion response model. Shared schema for DocumentVersion responses, used by Document endpoints and DocumentVersion endpoints.

Properties

Name Type Description Notes
id UUID DocumentVersion ID
path_part_id UUID PathPart ID
version int Version number (0, 1, 2...)
name str Auto-generated name from path_part (v0, v1, ...)
parent_path_id UUID Document's PathPart ID
materialized_path str Full materialized path from root
system_managed bool Whether this version is system-managed
tenant_id UUID Tenant ID
created_at datetime Creation timestamp
updated_at datetime Last update timestamp
asset_s3_url str Presigned URL to download the source document (6-hour validity) [optional]
fast_plaintext_url str Presigned URL to download the fast plaintext export (6-hour validity) [optional]
system_metadata DocumentVersionMetadata [optional]

Example

from ksapi.models.document_version_response import DocumentVersionResponse

# TODO update the JSON string below
json = "{}"
# create an instance of DocumentVersionResponse from a JSON string
document_version_response_instance = DocumentVersionResponse.from_json(json)
# print the JSON string representation of the object
print(DocumentVersionResponse.to_json())

# convert the object into a dict
document_version_response_dict = document_version_response_instance.to_dict()
# create an instance of DocumentVersionResponse from a dict
document_version_response_from_dict = DocumentVersionResponse.from_dict(document_version_response_dict)

[Back to Model list] [Back to API list] [Back to README]