{"openapi":"3.1.1","info":{"title":"GDSS — Gangwon Defense Strategy Support System API","version":"0.1.0","description":"안전하게 공개할 수 있는 GDSS 상태 조회 API 계약입니다. 운영 데이터·쓰기 작업·비밀값은 공개 surface에 포함하지 않습니다.","contact":{"name":"GDSS system access","url":"https://gdss-pi.vercel.app/login"}},"servers":[{"url":"https://gdss-pi.vercel.app","description":"GDSS production"}],"tags":[{"name":"System status","description":"인증된 정책·관리자 세션에서 확인하는 안전한 시스템 상태"}],"paths":{"/api/military-policy":{"get":{"tags":["System status"],"summary":"군정책·군관협력 업무 계약 조회","description":"공개 정책 분류, 공식 출처 메타데이터, 도지사 정책 Tracker, 인수위 백서 이용 경계와 중앙 군정책 업무를 반환합니다. 실제 현안은 인증된 정책·관리자 세션의 저장 원장에서만 읽습니다.","operationId":"getMilitaryPolicyIntelligence","security":[{"SupabaseSession":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":120}},{"name":"domain","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"region","in":"query","required":false,"schema":{"type":"string","maxLength":80}}],"responses":{"200":{"description":"군정책 계약 조회 성공","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"provider":{"type":"string"},"status":{"type":"string"},"runtime":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"lastCheckedAt":{"type":"string","format":"date-time"},"lastSuccessAt":{"type":["string","null"],"format":"date-time"},"lastError":{"type":["string","null"]},"publicSafe":{"type":"boolean"}}}}}},"401":{"description":"로그인 필요","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}},"403":{"description":"정책 또는 관리자 권한 필요","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}},"503":{"description":"관리형 환경의 원격 업무 원장 미구성","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}}}},"post":{"tags":["System status"],"summary":"군정책 현안 미리보기","description":"현안 초안을 검증하지만 저장하지 않습니다. 승인된 실행은 기존 /api/work-items의 승인·멱등키·감사 경계를 사용해야 합니다.","operationId":"previewMilitaryPolicyIssue","security":[{"SupabaseSession":[]}],"responses":{"200":{"description":"미리보기 성공","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"provider":{"type":"string"},"status":{"type":"string"},"runtime":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"lastCheckedAt":{"type":"string","format":"date-time"},"lastSuccessAt":{"type":["string","null"],"format":"date-time"},"lastError":{"type":["string","null"]},"publicSafe":{"type":"boolean"}}}}}},"400":{"description":"입력 검증 실패","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}},"409":{"description":"승인 없는 쓰기 차단","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}}}}},"/api/agent-reach":{"get":{"tags":["System status"],"summary":"공개 피드 Agent Reach 상태 조회","description":"허용목록 공개 RSS·Atom·JSON 피드의 실행 상태만 반환합니다. 정책 또는 관리자 세션이 필요합니다.","operationId":"getAgentReachHealth","security":[{"SupabaseSession":[]}],"responses":{"200":{"description":"상태 조회 성공","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"provider":{"type":"string"},"status":{"type":"string"},"runtime":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"lastCheckedAt":{"type":"string","format":"date-time"},"lastSuccessAt":{"type":["string","null"],"format":"date-time"},"lastError":{"type":["string","null"]},"publicSafe":{"type":"boolean"}}}}}},"401":{"description":"로그인 필요","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}},"403":{"description":"정책 또는 관리자 권한 필요","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}}}}},"/api/integrations/readiness":{"get":{"tags":["System status"],"summary":"외부 통합 실행 준비 상태 조회","description":"법령·공모·NTIS·뉴스 공급자의 연결 단계와 원격 원장 상태를 반환합니다. 실제 원문·비밀값·개인정보는 반환하지 않습니다.","operationId":"getIntegrationReadiness","security":[{"SupabaseSession":[]}],"responses":{"200":{"description":"준비 상태 조회 성공","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"provider":{"type":"string"},"status":{"type":"string"},"runtime":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"lastCheckedAt":{"type":"string","format":"date-time"},"lastSuccessAt":{"type":["string","null"],"format":"date-time"},"lastError":{"type":["string","null"]},"publicSafe":{"type":"boolean"}}}}}},"401":{"description":"로그인 필요","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}},"503":{"description":"인증 또는 원격 원장 확인 불가","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}}}}},"/api/gis/vworld/health":{"get":{"tags":["System status"],"summary":"VWorld GIS 공급자 상태 점검","description":"키 구성 여부와 실제 VWorld probe 결과를 분리해 반환합니다. 실제 호출을 수행하려면 probe=true가 필요하며 원본 키와 좌표는 반환하지 않습니다.","operationId":"getVWorldHealth","security":[{"SupabaseSession":[]}],"parameters":[{"name":"probe","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":80},"description":"probe=true일 때 사용할 공개 장소명"}],"responses":{"200":{"description":"VWorld 상태 조회 성공","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"provider":{"type":"string"},"status":{"type":"string"},"runtime":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"lastCheckedAt":{"type":"string","format":"date-time"},"lastSuccessAt":{"type":["string","null"],"format":"date-time"},"lastError":{"type":["string","null"]},"publicSafe":{"type":"boolean"}}}}}},"401":{"description":"로그인 필요","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}},"503":{"description":"VWorld 키 누락","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string"}}}}}}}}}},"components":{"securitySchemes":{"SupabaseSession":{"type":"apiKey","in":"cookie","name":"sb-session","description":"배포 환경에서 Supabase SSR이 관리하는 브라우저 세션 개념입니다. 실제 쿠키 값이나 토큰을 문서에 삽입하지 않습니다."}}}}