Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 6.81 KB

platformdocument.md

File metadata and controls

18 lines (15 loc) · 6.81 KB

PlatformDocument

Fields

Field Type Required Description
document_id str ✔️ Indexed Glean store ID. Get document by ID accepts it.
url str ✔️ Permalink of the document. Pass it to get document by URL to retrieve the document again. May differ from a submitted lookup URL.
title str ✔️ Document title. The server returns the placeholder title, Untitled, when the source item has no title.
datasource str ✔️ Origin datasource.
document_type Nullable[str] ✔️ Datasource-specific document type.
mime_type Optional[str] ➖ Source MIME type. Omitted when absent.
creator Optional[models.PlatformPersonReference] ➖ A lightweight reference to a person, used where a payload merely points at someone.
owner Optional[models.PlatformPersonReference] ➖ A lightweight reference to a person, used where a payload merely points at someone.
updated_at date ✔️ When the document was last modified.
created_at date ✔️ When the document was created.
content Optional[models.PlatformDocumentContent] ➖ N/A