ZipImportServlet
A servlet for importing zip files. Supports both POST
and GET
:
POST: http://
host/import/
publication-name-
This
POST
operation requires that the incoming request is a ZIP input stream. The content of the stream is extracted and stored on a temporary location on disk. When all content is extracted, the files are imported either using the import configuration configured for the given publication or the web service will create a default import configuration. GET
-
This
GET
operation supports two request parameters:articleId
andfilename
articleId
is required and is the id of the article to be exported.filename
is not required, but if not defined, the name of the XML file will be the articleId. The response of a get operation will be a zip stream containing the content of the given article. This includes the XML and all media files attached to the article.