diff --git a/docs/api/api.rst b/docs/api/api.rst --- a/docs/api/api.rst +++ b/docs/api/api.rst @@ -152,6 +152,28 @@ OUTPUT:: error : null +invalidate_cache +---------------- + +Invalidate cache for repository. +This command can be executed only using api_key belonging to user with admin +rights or regular user that have write or admin or write access to repository. + +INPUT:: + + id : + api_key : "" + method : "invalidate_cache" + args : { + "repoid" : "" + } + +OUTPUT:: + + id : + result : "Cache for repository `` was invalidated: invalidated cache keys: " + error : null + lock ----