컨텐츠 (Contents)
oe.contents.*는 방송 컨텐츠의 조회와 복제를 제공합니다.
SDK 비대칭 — create 없음
oe.contents에는 create가 없습니다. 새 컨텐츠 합성은 운영자 콘솔 영역입니다. 파트너 앱에서 즉석 TTS 합성이 필요하면 broadcast.tts.send()를 사용하세요.
oe.contents.list()
ts
list(): Promise<ContentView[]>ts
const contents = await oe.contents.list();
// ContentView: handle · title · scopeTypescopeType은 컨텐츠 공유 범위입니다(SHARED 등).
oe.contents.get()
ts
get(handle: string): Promise<ContentView>ts
const content = await oe.contents.get("cnt_welcome");oe.contents.clone()
기존 컨텐츠를 복제해 새 handle을 가진 독립 컨텐츠를 만듭니다. 복제본은 템플릿 생성 시 contentHandle로 쓸 수 있습니다.
ts
clone(sourceHandle: string): Promise<ContentView>ts
const cloned = await oe.contents.clone("cnt_welcome");
console.log("복제 완료:", cloned.handle);조회는 CONTENT READ, 복제는 CONTENT EXECUTE capability가 필요합니다.

