domains

Restore Document

Restore a recycle-binned document (TOS-1488).

Clears deleted_at/deleted_by_identity_id. Idempotent on an already-live document (mirrors SkillService.restore_skill). Same visibility + rung rule as delete: personal docs need ownership, shared docs need edit+.

post/api/folders/documents/{document_id}/restore

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/folders/documents/{document_id}/restore
  • Auth: none declared

Path parameters

document_idstring uuid required

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

idstring uuid required
source_idstring required
titlestring
statusstring required
chunk_countinteger required
indexed_atstring date-time nullable required
error_messagestring nullable required
scopestring required
library_idstring uuid nullable
tagsstring[]
created_atstring date-time nullable required
modified_atstring date-time nullable
size_bytesinteger nullable
has_originalboolean
document_kindstring
slugstring nullable
original_content_typestring nullable
original_filenamestring nullable
title_sourcestring nullable
has_fitboolean
deleted_atstring date-time nullable
publishedboolean
sync_excludedboolean
mind_mode'immediate' | 'first_save' | 'never'
mind_refresh_status'current' | 'queued' | 'failed'

Changes

No recorded changes to this operation across all 1 revision of this API.