{"openapi":"3.0.3","info":{"title":"APICK URL 화면캡처","version":"1.0.0","description":"입력한 URL의 화면을 캡처합니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/url_screenshot":{"post":{"summary":"URL 화면캡처","description":"입력한 URL의 화면을 캡처합니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"파일 직접 응답","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"캡처할 페이지의 전체 URL입니다. http·https를 포함해 보내며, 로그인·차단 페이지는 캡처가 실패할 수 있습니다. (string)","example":"https://www.naver.com/"}},"required":["url"]}}}}}}},"x-code-tables":[{"title":"오류 코드","columns":["data.error","HTTP","대처"],"rows":[["필수 입력값이 없습니다.","400","url을 채워 다시 요청합니다."],["URL 형식이 올바르지 않습니다.","400","주소 철자와 형식을 확인합니다."],["http 또는 https로 시작하는 주소만 사용할 수 있습니다.","424","https://를 붙여 보냅니다."],["이 호스트로는 요청할 수 없습니다.","424","사내망·사설 IP·localhost 주소입니다. 공개 인터넷 주소만 쓸 수 있습니다."],["호스트를 확인할 수 없습니다.","424","존재하지 않는 도메인입니다. 철자를 확인합니다."],["알 수 없는 이유로 실패했습니다.","424","페이지가 열리지 않았거나 캡처에 실패했습니다. 브라우저에서 주소가 열리는지 확인한 뒤 다시 요청합니다."],["처리 시간 초과로 실패했습니다. 잠시후 다시 시도해 주세요.","408","data.success가 3입니다. 잠시 뒤 다시 요청합니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}