{"openapi":"3.0.3","info":{"title":"APICK 유튜브 재생목록 조회","version":"1.0.0","description":"공개 재생목록의 제목·설명·채널·전체 영상 수와 수록 영상 목록을 재생목록 순서대로 받습니다. 영상 항목의 id는 영상 정보·댓글·자막 조회에 그대로 넣을 수 있습니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/youtube_playlist":{"post":{"summary":"유튜브 재생목록 조회","description":"공개 재생목록의 제목·설명·채널·전체 영상 수와 수록 영상 목록을 재생목록 순서대로 받습니다. 영상 항목의 id는 영상 정보·댓글·자막 조회에 그대로 넣을 수 있습니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"playlist_id":{"type":"string","description":"재생목록 ID입니다."},"url":{"type":"string","description":"재생목록 주소입니다."},"title":{"type":"string","description":"재생목록 제목입니다. 없으면 null입니다.","nullable":true},"description":{"type":"string","description":"재생목록 설명입니다. 없으면 빈 문자열입니다."},"channel":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"handle":{"type":"string","description":"채널 핸들(@이름)입니다. 없으면 null입니다.","nullable":true}},"description":"재생목록을 만든 채널 {id, name, url, handle}입니다. 제공되지 않으면 null이며, 이때는 영상 항목의 channel을 확인하세요.","nullable":true},"video_count":{"type":"integer","description":"재생목록 전체 영상 수입니다. 모르면 null입니다.","nullable":true},"view_count":{"type":"integer","description":"재생목록 조회수입니다. 모르면 null입니다.","nullable":true},"modified_date":{"type":"string","description":"마지막 수정일(YYYY-MM-DD)입니다. 모르면 null입니다.","nullable":true},"count":{"type":"integer","description":"이번 응답에 담긴 영상 수입니다."},"videos":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"},"url":{"type":"string"},"title":{"type":"string"},"description":{"nullable":true},"duration":{"type":"integer"},"view_count":{"type":"integer"},"live_status":{"nullable":true},"published_at":{"nullable":true},"channel":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"handle":{"type":"string"}}},"thumbnail":{"type":"string"}}},"description":"수록 영상 목록입니다. 항목 형식은 유튜브 검색 결과의 video·short 항목과 같습니다(type·id·url·title·description·duration·view_count·live_status·published_at·channel·thumbnail)."},"success":{"type":"integer","description":"성공이면 1입니다."}}},"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":{"url":{"type":"string","description":"재생목록 URL(list= 포함) 또는 재생목록 ID (예: PL...) (string)","example":"https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH"},"count":{"type":"string","description":"받을 영상 수 1~200 (기본 50) 숫자로 보내며, 허용 범위를 벗어나면 요청이 거부됩니다. (integer)","example":"2"}},"required":["url"]}}}}}}},"x-code-tables":[{"title":"오류와 복구","columns":["상황","HTTP","data.error","해결"],"rows":[["입력 오류","400","입력 항목을 확인해 주세요. 재생목록 주소 또는 재생목록 ID와 count(1~200)를 확인해 주세요.","재생목록 주소·ID 형식과 count 범위를 확인합니다. list=가 없는 영상 주소는 영상 정보 조회를 씁니다."],["재생목록 없음","404","재생목록을 찾을 수 없습니다. 삭제·비공개 재생목록이거나 잘못된 주소입니다.","재생목록이 공개 상태인지, ID가 맞는지 확인합니다."],["시간 초과","408","처리 시간 초과로 실패했습니다. 잠시 후 다시 시도해 주세요.","잠시 후 같은 요청을 다시 보냅니다. count를 줄이면 빨라집니다."],["일시적 조회 실패","424","일시적으로 영상 정보를 가져오지 못했습니다. 잠시 후 다시 시도해 주세요.","잠시 후 같은 요청을 다시 보냅니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}