blob: ecbae0f47fbb95ad365d928cfb2e689cd43914e2 [file] [log] [blame]
Nathaniel Manista4f877e52015-06-15 16:44:50 +00001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="youtube_v3.html">YouTube Data API</a> . <a href="youtube_v3.captions.html">captions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Takashi Matsuo06694102015-09-11 13:55:40 -070078 <code><a href="#delete">delete(id, onBehalfOf=None, onBehalfOfContentOwner=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000079<p class="firstline">Deletes a specified caption track.</p>
80<p class="toc_element">
Takashi Matsuo06694102015-09-11 13:55:40 -070081 <code><a href="#download">download(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000082<p class="firstline">Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.</p>
83<p class="toc_element">
Takashi Matsuo06694102015-09-11 13:55:40 -070084 <code><a href="#download_media">download_media(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000085<p class="firstline">Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.</p>
86<p class="toc_element">
Takashi Matsuo06694102015-09-11 13:55:40 -070087 <code><a href="#insert">insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000088<p class="firstline">Uploads a caption track.</p>
89<p class="toc_element">
Takashi Matsuo06694102015-09-11 13:55:40 -070090 <code><a href="#list">list(part, videoId, onBehalfOf=None, onBehalfOfContentOwner=None, id=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000091<p class="firstline">Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.</p>
92<p class="toc_element">
Takashi Matsuo06694102015-09-11 13:55:40 -070093 <code><a href="#update">update(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000094<p class="firstline">Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.</p>
95<h3>Method Details</h3>
96<div class="method">
Takashi Matsuo06694102015-09-11 13:55:40 -070097 <code class="details" id="delete">delete(id, onBehalfOf=None, onBehalfOfContentOwner=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000098 <pre>Deletes a specified caption track.
99
100Args:
101 id: string, The id parameter identifies the caption track that is being deleted. The value is a caption track ID as identified by the id property in a caption resource. (required)
Takashi Matsuo06694102015-09-11 13:55:40 -0700102 onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000103 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
104
105The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000106</pre>
107</div>
108
109<div class="method">
Takashi Matsuo06694102015-09-11 13:55:40 -0700110 <code class="details" id="download">download(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000111 <pre>Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.
112
113Args:
114 id: string, The id parameter identifies the caption track that is being retrieved. The value is a caption track ID as identified by the id property in a caption resource. (required)
Takashi Matsuo06694102015-09-11 13:55:40 -0700115 onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
116 tlang: string, The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000117 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
118
119The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000120 tfmt: string, The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track is returned in its original format.
121 Allowed values
122 sbv - SubViewer subtitle.
123 scc - Scenarist Closed Caption format.
124 srt - SubRip subtitle.
125 ttml - Timed Text Markup Language caption.
126 vtt - Web Video Text Tracks caption.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000127</pre>
128</div>
129
130<div class="method">
Takashi Matsuo06694102015-09-11 13:55:40 -0700131 <code class="details" id="download_media">download_media(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000132 <pre>Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.
133
134Args:
135 id: string, The id parameter identifies the caption track that is being retrieved. The value is a caption track ID as identified by the id property in a caption resource. (required)
Takashi Matsuo06694102015-09-11 13:55:40 -0700136 onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
137 tlang: string, The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000138 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
139
140The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000141 tfmt: string, The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track is returned in its original format.
142 Allowed values
143 sbv - SubViewer subtitle.
144 scc - Scenarist Closed Caption format.
145 srt - SubRip subtitle.
146 ttml - Timed Text Markup Language caption.
147 vtt - Web Video Text Tracks caption.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000148</pre>
149</div>
150
151<div class="method">
Takashi Matsuo06694102015-09-11 13:55:40 -0700152 <code class="details" id="insert">insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000153 <pre>Uploads a caption track.
154
155Args:
156 part: string, The part parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet. (required)
157 body: object, The request body.
158 The object takes the form of:
159
160{ # A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
161 "snippet": { # Basic details about a caption track, such as its language and name. # The snippet object contains basic details about the caption.
162 "status": "A String", # The caption track's status.
163 "audioTrackType": "A String", # The type of audio track associated with the caption track.
164 "language": "A String", # The language of the caption track. The property value is a BCP-47 language tag.
165 "name": "A String", # The name of the caption track. The name is intended to be visible to the user as an option during playback.
166 "videoId": "A String", # The ID that YouTube uses to uniquely identify the video associated with the caption track.
167 "isDraft": True or False, # Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false.
168 "isAutoSynced": True or False, # Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions.
169 "trackKind": "A String", # The caption track's type.
170 "lastUpdated": "A String", # The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
171 "isCC": True or False, # Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.
172 "isEasyReader": True or False, # Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false.
173 "isLarge": True or False, # Indicates whether the caption track uses large text for the vision-impaired. The default value is false.
174 "failureReason": "A String", # The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.
175 },
176 "kind": "youtube#caption", # Identifies what kind of resource this is. Value: the fixed string "youtube#caption".
177 "etag": "A String", # Etag of this resource.
178 "id": "A String", # The ID that YouTube uses to uniquely identify the caption track.
179 }
180
181 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
182 onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
183 sync: boolean, The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will disregard any time codes that are in the uploaded caption file and generate new time codes for the captions.
184
185You should set the sync parameter to true if you are uploading a transcript, which has no time codes, or if you suspect the time codes in your file are incorrect and want YouTube to try to fix them.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000186 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
187
188The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
189
190Returns:
191 An object of the form:
192
193 { # A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
194 "snippet": { # Basic details about a caption track, such as its language and name. # The snippet object contains basic details about the caption.
195 "status": "A String", # The caption track's status.
196 "audioTrackType": "A String", # The type of audio track associated with the caption track.
197 "language": "A String", # The language of the caption track. The property value is a BCP-47 language tag.
198 "name": "A String", # The name of the caption track. The name is intended to be visible to the user as an option during playback.
199 "videoId": "A String", # The ID that YouTube uses to uniquely identify the video associated with the caption track.
200 "isDraft": True or False, # Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false.
201 "isAutoSynced": True or False, # Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions.
202 "trackKind": "A String", # The caption track's type.
203 "lastUpdated": "A String", # The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
204 "isCC": True or False, # Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.
205 "isEasyReader": True or False, # Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false.
206 "isLarge": True or False, # Indicates whether the caption track uses large text for the vision-impaired. The default value is false.
207 "failureReason": "A String", # The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.
208 },
209 "kind": "youtube#caption", # Identifies what kind of resource this is. Value: the fixed string "youtube#caption".
210 "etag": "A String", # Etag of this resource.
211 "id": "A String", # The ID that YouTube uses to uniquely identify the caption track.
212 }</pre>
213</div>
214
215<div class="method">
Takashi Matsuo06694102015-09-11 13:55:40 -0700216 <code class="details" id="list">list(part, videoId, onBehalfOf=None, onBehalfOfContentOwner=None, id=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000217 <pre>Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.
218
219Args:
220 part: string, The part parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet. (required)
221 videoId: string, The videoId parameter specifies the YouTube video ID of the video for which the API should return caption tracks. (required)
Takashi Matsuo06694102015-09-11 13:55:40 -0700222 onBehalfOf: string, ID of the Google+ Page for the channel that the request is on behalf of.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000223 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
224
225The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000226 id: string, The id parameter specifies a comma-separated list of IDs that identify the caption resources that should be retrieved. Each ID must identify a caption track associated with the specified video.
227
228Returns:
229 An object of the form:
230
231 {
232 "eventId": "A String", # Serialized EventId of the request which produced this response.
233 "items": [ # A list of captions that match the request criteria.
234 { # A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
235 "snippet": { # Basic details about a caption track, such as its language and name. # The snippet object contains basic details about the caption.
236 "status": "A String", # The caption track's status.
237 "audioTrackType": "A String", # The type of audio track associated with the caption track.
238 "language": "A String", # The language of the caption track. The property value is a BCP-47 language tag.
239 "name": "A String", # The name of the caption track. The name is intended to be visible to the user as an option during playback.
240 "videoId": "A String", # The ID that YouTube uses to uniquely identify the video associated with the caption track.
241 "isDraft": True or False, # Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false.
242 "isAutoSynced": True or False, # Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions.
243 "trackKind": "A String", # The caption track's type.
244 "lastUpdated": "A String", # The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
245 "isCC": True or False, # Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.
246 "isEasyReader": True or False, # Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false.
247 "isLarge": True or False, # Indicates whether the caption track uses large text for the vision-impaired. The default value is false.
248 "failureReason": "A String", # The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.
249 },
250 "kind": "youtube#caption", # Identifies what kind of resource this is. Value: the fixed string "youtube#caption".
251 "etag": "A String", # Etag of this resource.
252 "id": "A String", # The ID that YouTube uses to uniquely identify the caption track.
253 },
254 ],
255 "kind": "youtube#captionListResponse", # Identifies what kind of resource this is. Value: the fixed string "youtube#captionListResponse".
256 "etag": "A String", # Etag of this resource.
257 "visitorId": "A String", # The visitorId identifies the visitor.
258 }</pre>
259</div>
260
261<div class="method">
Takashi Matsuo06694102015-09-11 13:55:40 -0700262 <code class="details" id="update">update(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000263 <pre>Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.
264
265Args:
266 part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the property value to snippet if you are updating the track's draft status. Otherwise, set the property value to id. (required)
267 body: object, The request body.
268 The object takes the form of:
269
270{ # A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
271 "snippet": { # Basic details about a caption track, such as its language and name. # The snippet object contains basic details about the caption.
272 "status": "A String", # The caption track's status.
273 "audioTrackType": "A String", # The type of audio track associated with the caption track.
274 "language": "A String", # The language of the caption track. The property value is a BCP-47 language tag.
275 "name": "A String", # The name of the caption track. The name is intended to be visible to the user as an option during playback.
276 "videoId": "A String", # The ID that YouTube uses to uniquely identify the video associated with the caption track.
277 "isDraft": True or False, # Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false.
278 "isAutoSynced": True or False, # Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions.
279 "trackKind": "A String", # The caption track's type.
280 "lastUpdated": "A String", # The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
281 "isCC": True or False, # Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.
282 "isEasyReader": True or False, # Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false.
283 "isLarge": True or False, # Indicates whether the caption track uses large text for the vision-impaired. The default value is false.
284 "failureReason": "A String", # The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.
285 },
286 "kind": "youtube#caption", # Identifies what kind of resource this is. Value: the fixed string "youtube#caption".
287 "etag": "A String", # Etag of this resource.
288 "id": "A String", # The ID that YouTube uses to uniquely identify the caption track.
289 }
290
291 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
292 onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
293 sync: boolean, Note: The API server only processes the parameter value if the request contains an updated caption file.
294
295The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will automatically synchronize the caption track with the audio track.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000296 onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
297
298The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
299
300Returns:
301 An object of the form:
302
303 { # A caption resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.
304 "snippet": { # Basic details about a caption track, such as its language and name. # The snippet object contains basic details about the caption.
305 "status": "A String", # The caption track's status.
306 "audioTrackType": "A String", # The type of audio track associated with the caption track.
307 "language": "A String", # The language of the caption track. The property value is a BCP-47 language tag.
308 "name": "A String", # The name of the caption track. The name is intended to be visible to the user as an option during playback.
309 "videoId": "A String", # The ID that YouTube uses to uniquely identify the video associated with the caption track.
310 "isDraft": True or False, # Indicates whether the caption track is a draft. If the value is true, then the track is not publicly visible. The default value is false.
311 "isAutoSynced": True or False, # Indicates whether YouTube synchronized the caption track to the audio track in the video. The value will be true if a sync was explicitly requested when the caption track was uploaded. For example, when calling the captions.insert or captions.update methods, you can set the sync parameter to true to instruct YouTube to sync the uploaded track to the video. If the value is false, YouTube uses the time codes in the uploaded caption track to determine when to display captions.
312 "trackKind": "A String", # The caption track's type.
313 "lastUpdated": "A String", # The date and time when the caption track was last updated. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
314 "isCC": True or False, # Indicates whether the track contains closed captions for the deaf and hard of hearing. The default value is false.
315 "isEasyReader": True or False, # Indicates whether caption track is formatted for "easy reader," meaning it is at a third-grade level for language learners. The default value is false.
316 "isLarge": True or False, # Indicates whether the caption track uses large text for the vision-impaired. The default value is false.
317 "failureReason": "A String", # The reason that YouTube failed to process the caption track. This property is only present if the state property's value is failed.
318 },
319 "kind": "youtube#caption", # Identifies what kind of resource this is. Value: the fixed string "youtube#caption".
320 "etag": "A String", # Etag of this resource.
321 "id": "A String", # The ID that YouTube uses to uniquely identify the caption track.
322 }</pre>
323</div>
324
325</body></html>