Function: paginateContentInsights()
ts
function paginateContentInsights(client, options?): AsyncGenerator<{
[key: string]: unknown;
metrics?: object[];
thumbnail: {
[key: string]: unknown;
caption_text?: string | null;
creation_time?: number;
media_id: string;
media_type?: string;
media_url?: string | null;
};
}>;Walks the whole content list, one item at a time across pages.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
options? | Omit<ContentInsightsOptions, "cursor"> |
Returns
AsyncGenerator<{ [key: string]: unknown; metrics?: object[]; thumbnail: { [key: string]: unknown; caption_text?: string | null; creation_time?: number; media_id: string; media_type?: string; media_url?: string | null; }; }>