Page Summary
-
This webpage documents how to use the
validator.validateAsyncmethod to asynchronously validate a metadata file for YouTube Partner. -
The HTTP request is made using a POST request to
https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsync, which follows gRPC Transcoding syntax. -
The request requires a
onBehalfOfContentOwnerquery parameter to identify the content owner and the request body is defined byValidateAsyncRequestwhich has a JSON representation that includesuploaderName,content, andkindfields. -
The response body provides the validation
status,validationId, andkindin JSON format. -
The API uses OAuth 2.0 authorization and requires the
https://www.googleapis.com/auth/youtubepartnerscope for successful access.
- HTTP request
- Query parameters
- Request body
- Response body
- Authorization scopes
- ValidateAsyncRequest
- Try it!
validator.validate a metadata file asynchronously.
HTTP request
POST https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsync
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
onBehalfOfContentOwner
|
The |
Request body
The request body contains an instance of ValidateAsyncRequest
.
Response body
Response to a validator.validateAsync
request.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "status" : string , "validationId" : string , "kind" : string } |
| Fields | |
|---|---|
status
|
The validation status. |
validationId
|
The validation ID. |
kind
|
The type of the API resource. For this operation, the value is |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview .
ValidateAsyncRequest
Request to a validator.validateAsync
metadata.
| JSON representation |
|---|
{ "uploaderName" : string , "content" : string , "kind" : string } |
| Fields | |
|---|---|
uploaderName
|
The uploader name. |
content
|
The metadata file contents. |
kind
|
The type of the API resource. For this operation, the value is |

