Web service API

How to use PageSeeder's Web service API

get uris document config

/members/{member}/groups/{group}/uris/documentconfig [GET]

com.pageseeder.psml.GetConfig

Description

Gets the document configuration files for a group.

For PSML they are:

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

This generator 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:

  • media-template.xml
  • editor-config.json

This generator 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

Name Description Required Type Default value
documenttype the document type for the config no string
extension the file extension for the config (overrides documenttype) no string

Permission

Undocumented permissions requirements.

Response

Undocumented XML response

Error Handling

No specific errors expected for this generator.

Created on , last edited on