YouTube

부분 유료
분류별 Dataverse | 업데이트됨 8日前 | Data
인기

9.6 / 10

지연 시간

136ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

Bug on Batch video endpoint

Rapid account: Ainarabearimalaza

Hello, we’re using batch video endpoint with Mega plan. In the endpoint we saw that we should be able to request up to 1000 videos by Id. But the request GET doesn’t allow to use more than arround 8000 characters else it returns an error URI too Long . Means, we can fetch only 674 video Ids .
Do you have solution ? Or maybe another endpoint batch with POST method instead of GET ?
Thanks,

Rapid account: Ainarabearimalaza
ainarabearimalaza Commented 2ヶ月前

Thank you, we will test with POST and probably merge into it

Rapid account: Bokolesnik
bokolesnik Commented 2ヶ月前

Hello, thank you for contacting us. We tested /batch/videos with 1k video IDs and it processed successfully. Try reducing the list of IDs to 1k before requesting them. We also added the ability to request batches using the ‘POST’ method, using ‘id’ from the request’s body.

Currently, we have a hard limit of 16 KB for URIs, so for 1k videos everything will work fine, but for channel IDs, it’s better to use ‘POST’ or limit to 500 items if you use ‘GET’ method.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입