{
  "operationId": "documentsRestore",
  "path": "/documents.restore",
  "method": "POST",
  "summary": "Restore a document",
  "tags": [
    "Documents"
  ],
  "requestSchema": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "example": "hDYep1TPAM",
        "description": "Unique identifier for the document. Either the UUID or the urlId is acceptable."
      },
      "collectionId": {
        "type": "string",
        "format": "uuid",
        "description": "Identifier for the collection to restore the document to."
      },
      "revisionId": {
        "type": "string",
        "format": "uuid",
        "description": "Identifier for the revision to restore to."
      }
    },
    "required": [
      "id"
    ]
  }
}