Skip to content

Latest commit

 

History

History
112 lines (68 loc) · 2.51 KB

CachesApi.md

File metadata and controls

112 lines (68 loc) · 2.51 KB

CachesApi

All URIs are relative to https://<CONFLUENCE_URL>/rest/bootstrapi/1

Method HTTP request Description
flushCache POST /caches/{name}/flush Flushes a cache
getCache GET /caches/{name} Read cache information for a specified cache
getCaches GET /caches Read all cache information
updateCache PUT /caches/{name} Update an existing cache-size. Only Setting maxObjectCount is supported.

flushCache

CacheBean flushCache(name)

Flushes a cache

Empties the specified cache

Parameters

Name Type Description Notes
name String [default to null]

Return type

CacheBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getCache

CacheBean getCache(name)

Read cache information for a specified cache

Parameters

Name Type Description Notes
name String [default to null]

Return type

CacheBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getCaches

List getCaches()

Read all cache information

Parameters

This endpoint does not need any parameter.

Return type

List

Authorization

basicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

updateCache

CacheBean updateCache(name, CacheBean)

Update an existing cache-size. Only Setting maxObjectCount is supported.

Parameters

Name Type Description Notes
name String [default to null]
CacheBean CacheBean [optional]

Return type

CacheBean

Authorization

basicAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json