LiveCuepoints: insert
이 메서드는 지원 중단되었으며 liveBroadcasts.cuepoint
메서드로 대체되었습니다.
실시간 방송에 큐 포인트를 삽입합니다. 현재 이 메서드에 대한 요청은 YouTube 콘텐츠 소유자와 연결된 계정에서 승인해야 합니다.
요청
HTTP 요청
POST https://www.googleapis.com/youtube/partner/v1/liveCuepoints
승인
이 요청에는 다음 범위 중 최소 하나를 사용하여 인증이 필요합니다. (인증 및 승인에 대해 자세히 알아보기)
범위 |
https://www.googleapis.com/auth/youtubepartner |
매개변수
다음 표에는 이 쿼리가 지원하는 매개변수가 나와 있습니다. 나열된 모든 매개변수는 쿼리 매개변수입니다.
매개변수 |
필수 매개변수 |
channelId |
string
channelId 매개변수는 큐 포인트가 삽입되는 방송을 소유한 채널을 식별합니다. |
onBehalfOfContentOwner |
string
onBehalfOfContentOwner 매개변수는 사용자를 대신하는 콘텐츠 소유자를 식별합니다. |
요청 본문
요청 본문에 livecuepoint 리소스를 제공합니다.
해당 리소스의 경우:
-
다음 속성에 값을 지정해야 합니다.
broadcastId
settings.cueType
-
다음 속성에 값을 설정할 수 있습니다.
settings.offsetTimeMs
settings.walltime
settings.durationSecs
오류
다음 표에서는 이 메서드 호출에 대한 응답으로 API가 반환할 수 있는 오류 메시지를 확인합니다. 자세한 내용은 오류 메시지 설명서를 참조하세요.
오류 유형 |
오류 세부정보 |
설명 |
invalidValue (400) |
conflictingTimeFields |
offsetTimeMs 및 walltime 중 하나만 지정할 수 있습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-02-22(UTC)
[null,null,["최종 업데이트: 2023-02-22(UTC)"],[[["This API method for inserting a cuepoint into a live broadcast has been deprecated and is now replaced by the `liveBroadcasts.cuepoint` method."],["Using this method requires authorization with the `https://www.googleapis.com/auth/youtubepartner` scope and being associated with a YouTube Content Owner."],["The required parameters for this method are `channelId`, which identifies the channel owning the broadcast, and `onBehalfOfContentOwner`, which identifies the content owner."],["The request body must include a `liveCuepoint` resource with specified values for `broadcastId` and `settings.cueType`, and can optionally set `settings.offsetTimeMs`, `settings.walltime`, or `settings.durationSecs`."],["The API returns a `liveCuepoint` resource upon success, and an error, such as `invalidValue (400)` for `conflictingTimeFields` is returned if there are any errors."]]],["This API method, now deprecated, was used to insert a cuepoint into a live broadcast via a POST request to `https://www.googleapis.com/youtube/partner/v1/liveCuepoints`. Authorization via the `https://www.googleapis.com/auth/youtubepartner` scope was required. Requests needed the `channelId` and `onBehalfOfContentOwner`. The request body required the `broadcastId` and `settings.cueType` properties to be set in a `liveCuepoint` resource. One of `offsetTimeMs` and `walltime` is valid. A successful response returned the `liveCuepoint` resource.\n"]]