Documents Plugin

Soft-delete an archived document.

DELETE
http://localhost:3000/api/plugins/docs/documents/{id}

Parameters

idstringrequiredpath
strategystringsubtreepromote-childrenquery

Response

Document soft-deleted successfully.

Response fields application/json
deletedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
createdAtstring<date-time>

The creation timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
updatedAtstring<date-time>

The last update timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
idstring
isActivebooleantrue
isArchivedbooleanfalse
archivedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
tenantIdstring
organizationIdstring
kindstringFOLDERPAGEFILErequired
indexnumberrequired

Sibling sort order within the parent

namestringrequired

Display name / page title

iconstring
colorstring
descriptionstring
contentJsonobject
contentHtmlstring
contentBinarystring<binary>
isLockedbooleanrequired
storageProviderstringLOCALS3WASABICLOUDINARYDIGITALOCEAN
storageKeystring
thumbKeystring
mimeTypestring
fileSizenumber
sha256string
originalFilenamestring
versionnumberrequired
extractedTextstring
extractedTextEditedbooleanrequired
summarystring
statusstringUPLOADEDPROCESSINGREADYFAILEDrequired
statusMessagestring
sourcestringUPLOADEDITORCHATEMAILINTEGRATIONSYSTEMIMPORTrequired
knowledgeStatusstringNONEQUEUEDINDEXINGINDEXEDFAILEDEXCLUDEDrequired
aiConfidencenumber
searchablebooleanrequired
reviewStatusstringNONEPENDINGAPPROVEDREJECTEDrequired
reviewReasonstringextraction-failedlow-confidenceai-generatedmanual
reviewedAtstring<date-time>
visibilitystringORGANIZATIONPRIVATErequired
externalSourcestring
externalIdstring
metadataobject
parentIdstring
reviewedByIdstring
409Conflict

The document is not archived.

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey