Web service API

How to use PageSeeder's Web service API

get uri config

/members/{member}/groups/{group}/uris/{uri}/config [GET]

com.pageseeder.psml.GetConfig

Description

Get config files for a URI

Get the configuration files for a document.

For PSML they are:

  • document-config.xml
  • document-template.psml
  • editor-config.json

This service will first try to locate where the document is defined by looking for the corresponding folder based on document type in the order defined below:

  1. /template/[project]/psml/[type]
  2. /template/[custom]/psml/[type]
  3. /template/default/psml/[type]
  4. /template/default/psml/default

For non PSML they are:

  • editor-config.json

This service will first try to locate where the document is defined by looking for the corresponding folder based on file extension in the order defined below:

  1. /template/[project]/document/[extension]
  2. /template/[custom]/document/[extension]
  3. /template/default/document/[extension]

Parameters

No parameters.

Permission

Undocumented permissions requirements.

Response

Undocumented XML response

Error Handling

CodeCause / Description
0x1206 The URI is not PSML

Created on , last edited on