Documents Plugin

Recover a soft-deleted document.

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

Parameters

idstringrequiredpath

Response

Document recovered 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
Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey