Core Solution(MindGarden) API 호출·연동 룰. 프론트엔드 StandardizedApi 필수, 엔드포인트 /api/v1/, 에러·tenantId 처리.
API 호출·연동 코드를 작성·수정할 때 이 스킬을 적용하세요.
StandardizedApi만 사용
frontend/src/utils/standardizedApi.js importStandardizedApi.get(url), StandardizedApi.post(url, body) 등 사용ajax.js의 apiGet/apiPost 직접 사용 금지엔드포인트
/api/v1/로 시작StandardizedApi.get('/api/v1/admin/consultants/with-stats')tenantId (필수)
X-Tenant-Id 필요. tenantId 없음 절대 허용 안 됨쿼리/바디
// ✅
const list = await StandardizedApi.get('/api/v1/schedules', { startDate, endDate });
const created = await StandardizedApi.post('/api/v1/clients', body);
// ❌
const list = await apiGet('/api/v1/schedules', { startDate, endDate });
/api/v1/{resource}. 버전 포함BaseApiController 상속, success()/created()/noContent() 사용docs/standards/API_CALL_STANDARD.md, docs/standards/API_INTEGRATION_STANDARD.md, docs/standards/API_DESIGN_STANDARD.md