Web service API

How to use PageSeeder's Web service API

validate folder

/members/{member}/groups/{group}/uris/{uri}/foldervalidate [POST]

com.pageseeder.uri.ValidateFolder

Description

validation

Invoking this service will start an Asynchronous process.

Only the URI with a format of "PSML" are validated.

Parameters

NameDescriptionRequiredTypeDefault value
schemaThe name of the schematron to use for validation  (e.g. myschema.sch).yesstring
documenttypeThe document type of PSML documents to validate.nostring
extensionThe file extension of documents to validate.nostring
failuresonlyWhether to only include results with failed assertions.nobooleanfalse 
include-descendantsWhether to also validate documents in descendant folders.nobooleanfalse 

Permission

Permissions requirements to be updated.

Response

This service returns the following XML:

<folder-validation>
    <thread ...> ... </thread>
</folder-validation>

Error Handling

CodeCause / Description
0x1205The URI selected is not a folder
0x1207No URIs to validate

Created on , last edited on