Skip to main content

 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 service first tries to locate where the document is defined by looking for the corresponding folder based on document type in the following defined order:

  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 service first tries to locate where the document is defined by looking for the corresponding folder based on file extension in the following defined order:

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

Parameters

NameDescriptionRequiredTypeDefault value
documenttypeThe document type for the confignostring
extensionThe file extension for the config (overrides documenttype)nostring

Permission

Permissions requirements to be updated.

Response

Undocumented XML response

Error Handling

No specific errors expected for this service.

Created on , last edited on