법령 신구조문 비교
국가법령정보 검색 및 조회
Retrieves law.go.kr old/new law list, three-way comparison list, or HTML-only legislative history data. Use when the user wants to find comparison/history entries before opening upstream detail links. Do NOT use for reading current law text — use law:detail instead. The response exposes only evidence-backed list envelope fields and preserves target-specific rows as upstream JSON objects because row keys differ by law.go.kr target.
Provider-first ApiFuse endpoint
curl -X POST \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
"https://api.apifuse.com/v1/law-service/compare" \
-d '{
"compare_type": "oldAndNew",
"law_name": "민법"
}'모든 Gateway 호출에는 ApiFuse API key가 필요합니다. Connection badge가 표시된 operation은 추가로 X-ApiFuse-Connection-Id 헤더를 전달하세요.
인증 규칙 반영
provider catalog의 auth mode를 기반으로 필요한 인증 방식이 상세 페이지와 OpenAPI에 함께 반영됩니다.
Gateway 경로 자동 연결
provider/operation 조합이 그대로 ApiFuse Gateway 경로와 MCP metadata lookup에 반영됩니다.
스키마 기반 문서화
요청 예시와 응답 스키마가 provider 정의에서 자동으로 내려와 항상 최신 상태를 유지합니다.