Skip to content

System generated reset redis cache system api

  • Reset redis cache of the system API.

Request Method: POST

URL

/api/system-api/user-path/reset-redis-cache-system-apis

Request payload

  • Reset redis cache of one system API.
{
    "name": "system_api_name"
}
  • Reset multiple redis cache using system API.
[   
    {
        "name":"system_api_name"
    },
    {
        "name":"system_api_name"
    }
]

Reset cache of system API

Reset cache of system API using global object 'g'.

await g.sys.cache.resetCacheSystemApis("SYSTEM_API_NAME");

API Response

{
    "success": true,
    "statusCode": 200,
    "data": 1
}

List of System APIs name

  • Encrypt data
  • Decrypt data
  • Hash data
  • Get token
  • Call external API
  • Get secret key/keys
  • Get redis key/keys
  • Set redis key/keys
  • Remove redis key/keys
  • Reset database cache
  • Reset third party API cache
  • Reset custom apis cache
  • Reset system apis cache
  • Get table meta data
  • Emit event
  • Emit event WS
  • Is valid data for table
  • Is valid data for custom API
  • Is valid data for third party API