Page 1 of 1
API to access DITA maps/files
Posted: Tue Oct 21, 2025 8:50 pm
by supportuser
Is there an available API to pull all DITA maps and files out of Oxygen into another system? As well as an API to push DITA maps/files back into Oxygen?
Re: API to access DITA maps/files
Posted: Wed Oct 22, 2025 6:30 am
by Radu
Hi,
Are you working with Oxygen's Project view (local files) or with files from a CMS integrated with Oxygen via an installed plugin?
Regards,
Radu
Re: API to access DITA maps/files
Posted: Fri Oct 24, 2025 6:02 pm
by supportuser
Working within the DITA Maps Manager view.
Re: API to access DITA maps/files
Posted: Fri Oct 24, 2025 8:28 pm
by Radu
Hi,
A java-based Oxygen plugin could for example use this APi to export a DITA Map with all its resources to a target folder or a zip archive:
https://www.oxygenxml.com/InstData/Edit ... ssUpdater)
There is an example here about how this Java APi can be used from an Oxygen Javascript plugin:
https://github.com/oxygenxml/wsaccess-j ... ipToServer
We do not have specific APis for the other way around, for overwriting a DITA Map with an external zip for example. A Java based Oxygen plugin can use the regular Java methods to copy files, folders.
Regards,
Radu