| Title | HTTP Method | Mapping URL | Method Name | Request Param | Response Type | | --- | --- | --- | --- | --- | --- | | Cache 조회 | GET | /admin/cache | getCache | List<String> key : 조회할 캐시에 대한 Key 값 | ResponseEntity<AdminSuccessResponse<?>> | | URL 별 캐시 목록 조회 | GET | /admin/cache/list | getCacheListByKeyParams | String url : 조회할 캐시들의 패턴 | ResponseEntity<AdminSuccessResponse<?>> | | 전체 캐시 목록 조회 | GET | /admin/cache/all | getCacheListAll | String path: 조회할 캐시 목록 path 값 | ResponseEntity<AdminSuccessResponse<?>> |

IApiControllerV1.java

package com.sinor.cache.admin.api.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.sinor.cache.common.AdminSuccessResponse;

public interface IApiControllerV1 {
	/**
	 * 단일 캐시 조회
	 * @param key 조회할 캐시의 Key 값
	 */
	@GetMapping("/admin/cache")
	ResponseEntity<AdminSuccessResponse<?>> getCache(@RequestParam String key);

	/**
	 * URL 별 캐시 목록 조회
	 * @param url 조회할 캐시들의 공통 url 값
	 */
	@GetMapping("/admin/cache/list")
	ResponseEntity<AdminSuccessResponse<?>> getCacheListByKeyParams(@RequestParam String url);

	/**
	 * 전체 캐시 목록 조회
	 */
	@GetMapping("/admin/cache/list/all")
	ResponseEntity<AdminSuccessResponse<?>> getCacheListAll();
}