listContentMedia in the widget’s uses list before calling it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Lists media from the Portal content library.
listContentMedia in the widget’s uses list before calling it.
const media = await listContentMedia({ contentFormat: "video", limit: 20 });
const listContentMedia: PortalFunction<PortalPage<PortalMedia>, ListContentMediaInput>