Project

General

Profile

ClientProject #3478

Updated by Md.Sajib Ahmed 6 months ago

### Tasks 

 1. **Create GET API** 

    * Endpoint: `/api/v1/redis-revalidate` `/api/v1/redis/keys` 
    * Functionality: 

      * Fetch and return **all Redis keys** currently stored. 
      * Use proper type safety and error handling. 

 2. **Create DELETE API** 

    * Endpoint: `/api/v1/redis-revalidate` `/api/v1/redis/delete` 
    * Functionality: 

      * Accept a **key** in the request body. 
      * Delete all matching Redis values for that key. 
      * Return confirmation message after successful deletion. 

 --- 

 ### Expected Outcome 

 * Redis key management APIs available for debugging and maintenance. 
 * Clean and type-safe implementation. 
 * Secure handling to prevent accidental mass deletion. 

Back