Skip to main content

 Web service API

How to use PageSeeder's Web service API

validate all templates

/templates/validate [GET]

com.pageseeder.developer.ValidateAllTemplates

Description

Validate configuration files and ANT scripts in all templates on the server.

Parameters

No parameters required.

Permission

This service is restricted to administrator.

Response

<validations>
  <validation project="[project name]"
              base="/WEB-INF/config/template/[project name]">
    <file name="[name]"
          location="[path relative to base]"
          status="[valid|invalid]">
      <error message="[validation error]" />
      <error message="[validation error]" />
      ...
    </file>
    <file ...>
      ...
    </file>
    ...
  </validation>
</validations>
 

Error Handling

No specific errors expected for this generator.

Created on , last edited on