Skip to main content

 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 fixes searches and document activity which are out of sync with the actual publications.
After repair, the group is automatically 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 might return documents that are not in the publication or be missing some that are. Performing repair publications fixes 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 starts an Asynchronous process.

Parameters

NameDescriptionRequiredTypeDefault value
start-threadWhether the repair publications thread should be startednobooleantrue

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 service.

Created on , last edited on