FilePolicies

Get file policy by id

Returns file policy.

get/filePolicies/{id}

Request

  • Base URL
    https://localhost:8446/api/v2
  • Auth
    API key in header Authorization

Path parameters

idnumber required

File policy id

Response

Successful response

idnumber required

File policy id

namestring required

File policy name. Is unique.

case_insensitiveboolean required

Case sensitivity ON/OFF for rules lists.

exclusionstring required

List of exclusion rules

pinningstring required

List of pinning rules

size_limit_typestring required

Type of size limit.

size_limitnumber required

Cache size limit. Is greater than 0. Max value is 100, if size_limit_type is equal 'percent'.

clear_cache_whennumber required

Clear cache when percent of used cache storage is equal to specified value.

clear_cache_untilnumber required

Clear cache cache until percent of used cache storage is back to specified value.

priority_typestring required

Type of priority.

priority_by_mtimestring

Type of priority by mtime. Required if priority_type is equal 'mtime'.

priority_by_namestring

List of names. Required if priority_type is equal 'name'.

Changes

No recorded changes to this operation across all 1 revision of this API.