Method: validator.validateAsync

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

string

The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.

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

string

The validation status.

validationId

string

The validation ID.

kind

string

The type of the API resource. For this operation, the value is youtubePartner#validateAsyncResponse.

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

string

The uploader name.

content

string

The metadata file contents.

kind

string

The type of the API resource. For this operation, the value is youtubePartner#validateAsyncRequest.