Skip to main content

 Version 5

Legacy documentation for PageSeeder v5

convert documenttypes to psml

/groups/{group}/documenttypes/converttopsml [POST]

Description

Convert document types to PSML.

This service is not part of the public API. It is used to convert legacy configurations of PageSeeder and might be removed in future version of PageSeeder

Converts PS Standard config files for each document type to the following PSML config files:

  • psml/[type]/document-config.xml
  • psml/[type]/document-template.psml
  • psml/[type]/editor-config.json

Parameters

No parameters required.

Permission

This service requires administrator.

Response

The XML returned is:

<config-conversion>
  <document-configs>
    <document type="[type]" />
    <document type="[type2]" />
    ...
  </document-configs>
  <document-templates>
    <document type="[type]" />
    <document type="[type2]" />
    ...
  </document-templates>
  <editor-configs>
    <document type="[type]" />
    <document type="[type2]" />
    ...
  </editor-configs>
  <!-- Files and subfolders -->
</config-conversion>

Error Handling

CodeCause / Description
0x6203Unable to generate PSML config file
Created on , last edited on