|
2114 | 2114 | } |
2115 | 2115 | } |
2116 | 2116 | }, |
| 2117 | + "media": { |
| 2118 | + "methods": { |
| 2119 | + "upload": { |
| 2120 | + "description": "Inserts a new AudioTrack for a video.", |
| 2121 | + "flatPath": "youtube/v3/audiotracks", |
| 2122 | + "httpMethod": "POST", |
| 2123 | + "id": "youtube.media.upload", |
| 2124 | + "mediaUpload": { |
| 2125 | + "accept": [ |
| 2126 | + "audio/*", |
| 2127 | + "application/octet-stream", |
| 2128 | + "*/*" |
| 2129 | + ], |
| 2130 | + "protocols": { |
| 2131 | + "resumable": { |
| 2132 | + "multipart": true, |
| 2133 | + "path": "/resumable/upload/youtube/v3/audiotracks" |
| 2134 | + }, |
| 2135 | + "simple": { |
| 2136 | + "multipart": true, |
| 2137 | + "path": "/upload/youtube/v3/audiotracks" |
| 2138 | + } |
| 2139 | + } |
| 2140 | + }, |
| 2141 | + "parameterOrder": [], |
| 2142 | + "parameters": { |
| 2143 | + "language": { |
| 2144 | + "description": "Required. The BCP-47 language code of the AudioTrack (e.g., \"es-ES\").", |
| 2145 | + "location": "query", |
| 2146 | + "type": "string" |
| 2147 | + }, |
| 2148 | + "part": { |
| 2149 | + "description": "Optional. The `part` parameter specifies the `AudioTrack` resource parts that the API response will include. The `part` names that you can include in the parameter value are `id` and `snippet`.", |
| 2150 | + "location": "query", |
| 2151 | + "repeated": true, |
| 2152 | + "type": "string" |
| 2153 | + }, |
| 2154 | + "videoId": { |
| 2155 | + "description": "Required. The external YouTube video ID.", |
| 2156 | + "location": "query", |
| 2157 | + "type": "string" |
| 2158 | + } |
| 2159 | + }, |
| 2160 | + "path": "youtube/v3/audiotracks", |
| 2161 | + "request": { |
| 2162 | + "$ref": "AudioTrack" |
| 2163 | + }, |
| 2164 | + "response": { |
| 2165 | + "$ref": "AudioTrack" |
| 2166 | + }, |
| 2167 | + "scopes": [ |
| 2168 | + "https://www.googleapis.com/auth/youtube", |
| 2169 | + "https://www.googleapis.com/auth/youtube.force-ssl", |
| 2170 | + "https://www.googleapis.com/auth/youtube.upload", |
| 2171 | + "https://www.googleapis.com/auth/youtubepartner" |
| 2172 | + ], |
| 2173 | + "supportsMediaUpload": true |
| 2174 | + } |
| 2175 | + } |
| 2176 | + }, |
2117 | 2177 | "members": { |
2118 | 2178 | "methods": { |
2119 | 2179 | "list": { |
|
4083 | 4143 | "resources": { |
4084 | 4144 | "v3": { |
4085 | 4145 | "methods": { |
| 4146 | + "deleteAudiotracks": { |
| 4147 | + "description": "Deletes one or more AudioTracks from a video.", |
| 4148 | + "flatPath": "youtube/v3/audiotracks", |
| 4149 | + "httpMethod": "DELETE", |
| 4150 | + "id": "youtube.youtube.v3.deleteAudiotracks", |
| 4151 | + "parameterOrder": [], |
| 4152 | + "parameters": { |
| 4153 | + "audioTrackId": { |
| 4154 | + "description": "Required. The audio track ID of the AudioTrack to be deleted (e.g., \"v1234567890\").", |
| 4155 | + "location": "query", |
| 4156 | + "type": "string" |
| 4157 | + }, |
| 4158 | + "part": { |
| 4159 | + "description": "Optional. The `part` parameter specifies the `AudioTrack` resource parts that the API response will include. The `part` names that you can include in the parameter value are `id` and `snippet`.", |
| 4160 | + "location": "query", |
| 4161 | + "repeated": true, |
| 4162 | + "type": "string" |
| 4163 | + }, |
| 4164 | + "videoId": { |
| 4165 | + "description": "Required. The external YouTube video ID.", |
| 4166 | + "location": "query", |
| 4167 | + "type": "string" |
| 4168 | + } |
| 4169 | + }, |
| 4170 | + "path": "youtube/v3/audiotracks", |
| 4171 | + "scopes": [ |
| 4172 | + "https://www.googleapis.com/auth/youtube", |
| 4173 | + "https://www.googleapis.com/auth/youtube.force-ssl", |
| 4174 | + "https://www.googleapis.com/auth/youtubepartner" |
| 4175 | + ] |
| 4176 | + }, |
4086 | 4177 | "updateCommentThreads": { |
4087 | 4178 | "description": "Updates an existing resource.", |
4088 | 4179 | "flatPath": "youtube/v3/commentThreads", |
|
4107 | 4198 | } |
4108 | 4199 | }, |
4109 | 4200 | "resources": { |
| 4201 | + "audiotracks": { |
| 4202 | + "methods": { |
| 4203 | + "list": { |
| 4204 | + "description": "Retrieves a list of AudioTracks for a video.", |
| 4205 | + "flatPath": "youtube/v3/audiotracks", |
| 4206 | + "httpMethod": "GET", |
| 4207 | + "id": "youtube.youtube.v3.audiotracks.list", |
| 4208 | + "parameterOrder": [], |
| 4209 | + "parameters": { |
| 4210 | + "language": { |
| 4211 | + "description": "Required. Filter by specific BCP-47 language codes.", |
| 4212 | + "location": "query", |
| 4213 | + "repeated": true, |
| 4214 | + "type": "string" |
| 4215 | + }, |
| 4216 | + "part": { |
| 4217 | + "description": "Optional. The `part` parameter specifies a comma-separated list of one or more `AudioTrack` resource parts that the API response will include. The `part` names that you can include in the parameter value are `id` and `snippet`.", |
| 4218 | + "location": "query", |
| 4219 | + "repeated": true, |
| 4220 | + "type": "string" |
| 4221 | + }, |
| 4222 | + "videoId": { |
| 4223 | + "description": "Required. The external YouTube video ID.", |
| 4224 | + "location": "query", |
| 4225 | + "type": "string" |
| 4226 | + } |
| 4227 | + }, |
| 4228 | + "path": "youtube/v3/audiotracks", |
| 4229 | + "response": { |
| 4230 | + "$ref": "ListAudioTracksResponse" |
| 4231 | + }, |
| 4232 | + "scopes": [ |
| 4233 | + "https://www.googleapis.com/auth/youtube", |
| 4234 | + "https://www.googleapis.com/auth/youtube.force-ssl", |
| 4235 | + "https://www.googleapis.com/auth/youtube.readonly", |
| 4236 | + "https://www.googleapis.com/auth/youtubepartner" |
| 4237 | + ] |
| 4238 | + } |
| 4239 | + } |
| 4240 | + }, |
4110 | 4241 | "liveChat": { |
4111 | 4242 | "resources": { |
4112 | 4243 | "messages": { |
|
4176 | 4307 | } |
4177 | 4308 | } |
4178 | 4309 | }, |
4179 | | - "revision": "20260412", |
| 4310 | + "revision": "20260427", |
4180 | 4311 | "rootUrl": "https://youtube.googleapis.com/", |
4181 | 4312 | "schemas": { |
4182 | 4313 | "AbuseReport": { |
|
4651 | 4782 | }, |
4652 | 4783 | "type": "object" |
4653 | 4784 | }, |
| 4785 | + "AudioTrack": { |
| 4786 | + "description": "Represents an AudioTrack for a YouTube video.", |
| 4787 | + "id": "AudioTrack", |
| 4788 | + "properties": { |
| 4789 | + "etag": { |
| 4790 | + "description": "Etag of this resource.", |
| 4791 | + "type": "string" |
| 4792 | + }, |
| 4793 | + "id": { |
| 4794 | + "description": "The ID that YouTube uses to uniquely identify the AudioTrack. This could be a generated AudioTrack ID.", |
| 4795 | + "type": "string" |
| 4796 | + }, |
| 4797 | + "kind": { |
| 4798 | + "description": "Identifies what kind of resource this is. Value: the fixed string youtube#audiotrack.", |
| 4799 | + "type": "string" |
| 4800 | + }, |
| 4801 | + "snippet": { |
| 4802 | + "$ref": "AudioTrackSnippet", |
| 4803 | + "description": "The `snippet` object contains basic details about the AudioTrack." |
| 4804 | + } |
| 4805 | + }, |
| 4806 | + "type": "object" |
| 4807 | + }, |
| 4808 | + "AudioTrackSnippet": { |
| 4809 | + "description": "Basic details about an AudioTrack, such as its video, language, and status.", |
| 4810 | + "id": "AudioTrackSnippet", |
| 4811 | + "properties": { |
| 4812 | + "contentType": { |
| 4813 | + "description": "The content type of the audio (e.g., \"dubbed\", \"descriptive\").", |
| 4814 | + "type": "string" |
| 4815 | + }, |
| 4816 | + "failureReason": { |
| 4817 | + "description": "If the status is \"FAILED\", this provides a reason for the failure.", |
| 4818 | + "type": "string" |
| 4819 | + }, |
| 4820 | + "language": { |
| 4821 | + "description": "The BCP-47 language code of this AudioTrack.", |
| 4822 | + "type": "string" |
| 4823 | + }, |
| 4824 | + "status": { |
| 4825 | + "description": "The current status of this AudioTrack.", |
| 4826 | + "enum": [ |
| 4827 | + "audioTrackStatusUnspecified", |
| 4828 | + "processing", |
| 4829 | + "succeeded", |
| 4830 | + "failed", |
| 4831 | + "rejected" |
| 4832 | + ], |
| 4833 | + "enumDescriptions": [ |
| 4834 | + "", |
| 4835 | + "", |
| 4836 | + "", |
| 4837 | + "", |
| 4838 | + "" |
| 4839 | + ], |
| 4840 | + "type": "string" |
| 4841 | + }, |
| 4842 | + "updateTime": { |
| 4843 | + "description": "Output only. Timestamp of the last update.", |
| 4844 | + "format": "google-datetime", |
| 4845 | + "readOnly": true, |
| 4846 | + "type": "string" |
| 4847 | + }, |
| 4848 | + "videoId": { |
| 4849 | + "description": "The external YouTube video ID this AudioTrack belongs to.", |
| 4850 | + "type": "string" |
| 4851 | + } |
| 4852 | + }, |
| 4853 | + "type": "object" |
| 4854 | + }, |
4654 | 4855 | "Caption": { |
4655 | 4856 | "description": "A *caption* resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.", |
4656 | 4857 | "id": "Caption", |
|
8324 | 8525 | }, |
8325 | 8526 | "type": "object" |
8326 | 8527 | }, |
| 8528 | + "ListAudioTracksResponse": { |
| 8529 | + "description": "Response for listing AudioTracks.", |
| 8530 | + "id": "ListAudioTracksResponse", |
| 8531 | + "properties": { |
| 8532 | + "audioTracks": { |
| 8533 | + "description": "Output only. A list of AudioTracks that match the request criteria.", |
| 8534 | + "items": { |
| 8535 | + "$ref": "AudioTrack" |
| 8536 | + }, |
| 8537 | + "readOnly": true, |
| 8538 | + "type": "array" |
| 8539 | + }, |
| 8540 | + "etag": { |
| 8541 | + "description": "Output only. Etag of this response.", |
| 8542 | + "readOnly": true, |
| 8543 | + "type": "string" |
| 8544 | + }, |
| 8545 | + "kind": { |
| 8546 | + "description": "Output only. Identifies what kind of resource this is. Value: the fixed string youtube#audiotrackList.", |
| 8547 | + "readOnly": true, |
| 8548 | + "type": "string" |
| 8549 | + } |
| 8550 | + }, |
| 8551 | + "type": "object" |
| 8552 | + }, |
8327 | 8553 | "LiveBroadcast": { |
8328 | 8554 | "description": "A *liveBroadcast* resource represents an event that will be streamed, via live video, on YouTube.", |
8329 | 8555 | "id": "LiveBroadcast", |
|
0 commit comments