cancel
Showing results for 
Search instead for 
Did you mean: 

REST API Convert DocX to text

nce
Champ in-the-making
Champ in-the-making

Is there a call in the REST API that will return a DocX file as plain text? 
I'm currently working on an OnlyOffice plugin that would get content from Alfresco and paste it within the OnlyOffice Online Editor. I'm limited to html and js pages (one of each) so Im using the REST API.

1 REPLY 1

ymeunier
Confirmed Champ
Confirmed Champ

Hi,

Theoretically, it is possible.
But it's according to your version.
To know the available transformations, you have to query via JMX (Alfresco: Name = ContentTransformer, Type = Configuration, org.alfresco.repo.content.transform.TransformerConfigMBean, getTransformationByExtension ()) or via http://localhost:8080/alfresco/Service/mimetypes?mimetype=*

Normally, TIKA or OOO allows it.

Best Regards,

Yann