About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:apis:admin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
development:apis:admin [2021/11/19 13:24] – created emaijaladevelopment:apis:admin [2023/11/09 19:25] (current) demiankatz
Line 1: Line 1:
 ====== Admin API ====== ====== Admin API ======
  
-Available from version 9.0.+// This API was introduced in release 9.0. //
  
 Currently the admin API contains only an endpoint for clearing caches. Currently the admin API contains only an endpoint for clearing caches.
Line 21: Line 21:
  
 Clear default caches using curl: Clear default caches using curl:
-[code]curl -X delete 'http://localhost:8080/vufind2/api/v1/admin/cache'[/code]+<code>curl -X delete 'http://localhost/vufind2/api/v1/admin/cache'</code>
  
 Clear cover cache using curl: Clear cover cache using curl:
-[code]curl -X delete 'http://localhost:8080/vufind2/api/v1/admin/cache?id[]=cover'[/code]+<code>curl -X delete 'http://localhost/vufind2/api/v1/admin/cache?id[]=cover'</code>
  
  
  
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/apis/admin.1637328274.txt.gz · Last modified: 2021/11/19 13:24 by emaijala