Web service API

How to use PageSeeder's Web service API

get cache info

/caches/{name}/info [GET]

com.pageseeder.cache.GetCacheInfo

This service is deprecated since version 5.7900

Description

Return information about a specific cache.

Parameters

No parameters required.

Permission

Only system administrators can use this service.

Response

<cache name="xml-documents"
       disabled="false"
       status="STATUS_ALIVE"
       guid="MY-PC/192.168.200.210-6dab5017-330a-47e5-907f-d65c390c8fe4">
   <info size="7"/>
   <configuration memory-store-eviction-policy="LRU"
                  count-based-tuned="true"
                  copy-on-write="false"
                  copy-on-read="false"
                  clear-on-flush="true"
                  eternal="true"
                  max-bytes-local-heap-percentage-set="false"
                  max-bytes-local-heap="0"
                  max-bytes-local-disk-percentage-set="false"
                  max-bytes-local-disk="0"
                  max-entries-local-heap="10000"
                  max-entries-local-disk="20000000"
                  disk-expiry-thread-interval-seconds="300"
                  disk-spool-buffer-size-mb="1"/>
</cache>

Error handling

No specific errors expected for this generator.

Created on , last edited on