mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
414 lines
12 KiB
Markdown
414 lines
12 KiB
Markdown
[youtubei.js](../README.md) / IRawResponse
|
|
|
|
# Interface: IRawResponse
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1580](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1580)
|
|
|
|
## Indexable
|
|
|
|
\[`key`: `string`\]: `any`
|
|
|
|
## Properties
|
|
|
|
### actions?
|
|
|
|
> `optional` **actions**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1590](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1590)
|
|
|
|
***
|
|
|
|
### alerts?
|
|
|
|
> `optional` **alerts**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1598](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1598)
|
|
|
|
***
|
|
|
|
### annotations?
|
|
|
|
> `optional` **annotations**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1634](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1634)
|
|
|
|
***
|
|
|
|
### background?
|
|
|
|
> `optional` **background**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1582](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1582)
|
|
|
|
***
|
|
|
|
### bgChallenge?
|
|
|
|
> `optional` **bgChallenge**: [`IRawBotguardChallenge`](IRawBotguardChallenge.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1583](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1583)
|
|
|
|
***
|
|
|
|
### captions?
|
|
|
|
> `optional` **captions**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1632](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1632)
|
|
|
|
***
|
|
|
|
### cards?
|
|
|
|
> `optional` **cards**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1637](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1637)
|
|
|
|
***
|
|
|
|
### challenge?
|
|
|
|
> `optional` **challenge**: `string`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1584](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1584)
|
|
|
|
***
|
|
|
|
### contents?
|
|
|
|
> `optional` **contents**: [`RawData`](../type-aliases/RawData.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1585](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1585)
|
|
|
|
***
|
|
|
|
### continuation?
|
|
|
|
> `optional` **continuation**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1594](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1594)
|
|
|
|
***
|
|
|
|
### continuationContents?
|
|
|
|
> `optional` **continuationContents**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1589](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1589)
|
|
|
|
***
|
|
|
|
### cpnInfo?
|
|
|
|
> `optional` **cpnInfo**: `IYoutubeApiInnertubeCpnInfo`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1638](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1638)
|
|
|
|
***
|
|
|
|
### currentVideoEndpoint?
|
|
|
|
> `optional` **currentVideoEndpoint**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1628](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1628)
|
|
|
|
***
|
|
|
|
### endpoint?
|
|
|
|
> `optional` **endpoint**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1631](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1631)
|
|
|
|
***
|
|
|
|
### endscreen?
|
|
|
|
> `optional` **endscreen**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1636](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1636)
|
|
|
|
***
|
|
|
|
### engagementPanels?
|
|
|
|
> `optional` **engagementPanels**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1642](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1642)
|
|
|
|
***
|
|
|
|
### entries?
|
|
|
|
> `optional` **entries**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1643](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1643)
|
|
|
|
***
|
|
|
|
### estimatedResults?
|
|
|
|
> `optional` **estimatedResults**: `string`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1600](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1600)
|
|
|
|
***
|
|
|
|
### frameworkUpdates?
|
|
|
|
> `optional` **frameworkUpdates**: `any`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1641](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1641)
|
|
|
|
***
|
|
|
|
### header?
|
|
|
|
> `optional` **header**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1592](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1592)
|
|
|
|
***
|
|
|
|
### items?
|
|
|
|
> `optional` **items**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1640](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1640)
|
|
|
|
***
|
|
|
|
### liveChatItemContextMenuSupportedRenderers?
|
|
|
|
> `optional` **liveChatItemContextMenuSupportedRenderers**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1591](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1591)
|
|
|
|
***
|
|
|
|
### metadata?
|
|
|
|
> `optional` **metadata**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1595](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1595)
|
|
|
|
***
|
|
|
|
### microformat?
|
|
|
|
> `optional` **microformat**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1596](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1596)
|
|
|
|
***
|
|
|
|
### onResponseReceivedActions?
|
|
|
|
> `optional` **onResponseReceivedActions**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1586](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1586)
|
|
|
|
***
|
|
|
|
### onResponseReceivedCommands?
|
|
|
|
> `optional` **onResponseReceivedCommands**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1588](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1588)
|
|
|
|
***
|
|
|
|
### onResponseReceivedEndpoints?
|
|
|
|
> `optional` **onResponseReceivedEndpoints**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1587](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1587)
|
|
|
|
***
|
|
|
|
### overlay?
|
|
|
|
> `optional` **overlay**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1597](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1597)
|
|
|
|
***
|
|
|
|
### playabilityStatus?
|
|
|
|
> `optional` **playabilityStatus**: `object`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1610](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1610)
|
|
|
|
#### audioOnlyPlayability?
|
|
|
|
> `optional` **audioOnlyPlayability**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
#### errorScreen?
|
|
|
|
> `optional` **errorScreen**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
#### playableInEmbed?
|
|
|
|
> `optional` **playableInEmbed**: `boolean`
|
|
|
|
#### reason?
|
|
|
|
> `optional` **reason**: `string`
|
|
|
|
#### status
|
|
|
|
> **status**: `string`
|
|
|
|
***
|
|
|
|
### playbackTracking?
|
|
|
|
> `optional` **playbackTracking**: `object`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1602](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1602)
|
|
|
|
#### videostatsPlaybackUrl
|
|
|
|
> **videostatsPlaybackUrl**: `object`
|
|
|
|
##### videostatsPlaybackUrl.baseUrl
|
|
|
|
> **baseUrl**: `string`
|
|
|
|
#### videostatsWatchtimeUrl
|
|
|
|
> **videostatsWatchtimeUrl**: `object`
|
|
|
|
##### videostatsWatchtimeUrl.baseUrl
|
|
|
|
> **baseUrl**: `string`
|
|
|
|
***
|
|
|
|
### playerConfig?
|
|
|
|
> `optional` **playerConfig**: [`IRawPlayerConfig`](IRawPlayerConfig.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1625](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1625)
|
|
|
|
***
|
|
|
|
### playerOverlays?
|
|
|
|
> `optional` **playerOverlays**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1601](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1601)
|
|
|
|
***
|
|
|
|
### playerResponse?
|
|
|
|
> `optional` **playerResponse**: `IRawResponse`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1626](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1626)
|
|
|
|
***
|
|
|
|
### playlistId?
|
|
|
|
> `optional` **playlistId**: `string`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1630](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1630)
|
|
|
|
***
|
|
|
|
### refinements?
|
|
|
|
> `optional` **refinements**: `string`[]
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1599](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1599)
|
|
|
|
***
|
|
|
|
### responseContext?
|
|
|
|
> `optional` **responseContext**: `IYoutubeApiInnertubeResponseContext`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1581](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1581)
|
|
|
|
***
|
|
|
|
### sidebar?
|
|
|
|
> `optional` **sidebar**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1593](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1593)
|
|
|
|
***
|
|
|
|
### storyboards?
|
|
|
|
> `optional` **storyboards**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1635](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1635)
|
|
|
|
***
|
|
|
|
### streamingData?
|
|
|
|
> `optional` **streamingData**: `object`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1617](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1617)
|
|
|
|
#### adaptiveFormats
|
|
|
|
> **adaptiveFormats**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
#### dashManifestUrl?
|
|
|
|
> `optional` **dashManifestUrl**: `string`
|
|
|
|
#### expiresInSeconds
|
|
|
|
> **expiresInSeconds**: `string`
|
|
|
|
#### formats
|
|
|
|
> **formats**: [`RawNode`](../type-aliases/RawNode.md)[]
|
|
|
|
#### hlsManifestUrl?
|
|
|
|
> `optional` **hlsManifestUrl**: `string`
|
|
|
|
#### serverAbrStreamingUrl?
|
|
|
|
> `optional` **serverAbrStreamingUrl**: `string`
|
|
|
|
***
|
|
|
|
### targetId?
|
|
|
|
> `optional` **targetId**: `string`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1639](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1639)
|
|
|
|
***
|
|
|
|
### unseenCount?
|
|
|
|
> `optional` **unseenCount**: `number`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1629](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1629)
|
|
|
|
***
|
|
|
|
### videoDetails?
|
|
|
|
> `optional` **videoDetails**: [`RawNode`](../type-aliases/RawNode.md)
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1633](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1633)
|
|
|
|
***
|
|
|
|
### watchNextResponse?
|
|
|
|
> `optional` **watchNextResponse**: `IRawResponse`
|
|
|
|
Defined in: [src/parser/types/RawResponse.ts:1627](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1627)
|