{"openapi":"3.0.3","info":{"title":"APICK 도메인으로 IP 조회","version":"1.0.0","description":"특정 도메인에 현재 등록된 IP 주소 목록을 조회합니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/nslookup":{"post":{"summary":"도메인으로 IP 조회","description":"특정 도메인에 현재 등록된 IP 주소 목록을 조회합니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"result":{"type":"array","items":{"type":"string"},"description":"도메인에 연결된 IPv4 주소 문자열 목록입니다. 여러 대의 서버를 쓰는 도메인은 여러 개가 옵니다. 연결된 주소가 없으면 빈 배열일 수 있습니다."},"success":{"type":"integer","description":"1이면 정상 처리되어 과금된 응답입니다."},"error":{"type":"string","description":"실패 사유입니다. 이 필드가 있으면 과금되지 않습니다."}}},"api":{"type":"object","properties":{"success":{"type":"boolean"},"cost":{"type":"integer","description":"차감된 포인트입니다. 실패하면 0입니다."},"ms":{"type":"integer","description":"처리 시간(밀리초)입니다."},"pl_id":{"type":"integer","description":"결제 기록 번호입니다."}}}}}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"domain":{"type":"string","description":"조회할 도메인입니다. http·https와 경로를 빼고 apick.app처럼 호스트만 입력하세요. (string)","example":"apick.app"}},"required":["domain"]}}}}}}},"x-code-tables":[{"title":"오류 코드","columns":["data.error","HTTP","대처"],"rows":[["필수 입력값이 없습니다.","400","domain을 채워 다시 요청합니다."],["Domain 형식이 잘못되었습니다.","400","도메인 형식이 맞지 않거나 조회할 수 없는 도메인입니다. https://·경로를 지우고 철자를 확인합니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}