Web service API

How to use PageSeeder's Web service API

repair group publications

/members/{member}/groups/{group}/repairpublications [POST]

com.pageseeder.publication.RepairPublications

Description

This action will fix searches and document activity which are out of sync with the actual publications.
After repair, the group will automatically be re-indexed.

If the server crashes, or there is a database problem while publication information is being saved, information can become out of sync with the actual publications. In this case, searches or document activity results may return documents that are not in the publication or be missing some that are. Performing repair publications will fix this.

If the thread is not started (if parameter start-thread is set to false ), then only the number of publications is returned. Otherwise this service will start an Asynchronous process.

Parameters

NameDescriptionRequiredTypeDefault value
start-threadWhether the repair publications thread should be started.nobooleantrue

Permission

Requires group  manager permissions.

Response


   <publication-repair>
     [Thread XML]
   </publication-repair>

   OR

   <total-publications>125</total-publications>

Error Handling

No specific errors expected for this generator.

Created on , last edited on