Method: validator.validateAsyncStatus

  • This endpoint retrieves the asynchronous validation status via a POST request to https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsyncStatus.

  • The onBehalfOfContentOwner query parameter is used to specify the content owner for actions taken on their behalf, supporting multi-content owner accounts.

  • The request body requires a ValidateStatusRequest instance, which includes a validationId and locale for the desired error message language.

  • The response body, structured as JSON, provides the status, a list of errors, a isMetadataOnly boolean, and the resource kind.

  • Access to this operation requires the https://www.googleapis.com/auth/youtubepartner OAuth scope.

Get the asynchronous validation status.

HTTP request

POST https://youtubepartner.googleapis.com/youtube/partner/v1/validatorAsyncStatus

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 ValidateStatusRequest.

Response body

Response to a validator.validateAsyncStatus request.

If successful, the response body contains data with the following structure:

JSON representation
{
  "status": string,
  "errors": [
    {
      object (ValidateError)
    }
  ],
  "isMetadataOnly": boolean,
  "kind": string
}
Fields
status

string

The validation status.

errors[]

object (ValidateError)

The list of errors and/or warnings.

isMetadataOnly

boolean

If this is a metadata-only package.

kind

string

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/youtubepartner

For more information, see the OAuth 2.0 Overview.

ValidateStatusRequest

Request to validate the status of a validation request.

JSON representation
{
  "validationId": string,
  "locale": string,
  "kind": string
}
Fields
validationId

string

The validation ID.

locale

string

The desired locale of the error messages as defined in BCP 47 (http: //tools.ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we will return the error messages in English ("en").

kind

string

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