ZipImportServlet
A servlet for importing zip files. Supports both
POST
and GET
.
-
POST: http://
host/import/
publication-name- A post operation requires that the incoming request is a zipinputstream. 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 importconfiguration configured for the given publication or the webservice will create a default importconfiguration
-
GET
- A 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.