diff --git a/restapi/index.php b/restapi/index.php index a988a63f2..ae5339117 100644 --- a/restapi/index.php +++ b/restapi/index.php @@ -91,6 +91,8 @@ class RestapiController { /* {{{ */ 'sequence'=>$document->getSequence(), 'expires'=>$document->getExpires() ? date('Y-m-d H:i:s', $document->getExpires()) : "", 'mimetype'=>$lc->getMimeType(), + 'filetype'=>$lc->getFileType(), + 'origfilename'=>$lc->getOriginalFileName(), 'version'=>$lc->getVersion(), 'version_comment'=>$lc->getComment(), 'version_date'=>date('Y-m-d H:i:s', $lc->getDate()),