REST Resource: validator
Stay organized with collections
Save and categorize content based on your preferences.
Resource: ValidateError
A validation error identifies an issue in an XML or CSV metadata file that may cause an uploaded package that includes the file to fail. Note: You would upload the package via the Web, Aspera, or SFTP. The API call enables you to confirm that the metadata file is valid before uploading the package. See the
YouTube Help Center
for more information about uploading content, including metadata files, to YouTube.
JSON representation
|
{
"severity"
:
string
,
"message"
:
string
,
"lineNumber"
:
integer
,
"columnNumber"
:
integer
,
"columnName"
:
string
,
"messageCode"
:
integer
}
|
Fields
|
severity
|
string
The error severity.
|
message
|
string
The error message.
|
lineNumber
|
integer
The line number where the error occurred (1-based).
|
columnNumber
|
integer
The column number where the error occurred (1-based).
|
columnName
|
string
The column name where the error occurred.
|
messageCode
|
integer
The code for the error message (if one exists).
|
Methods
|
|
Validate a metadata file.
|
|
Validate a metadata file asynchronously.
|
|
Get the asynchronous validation status.
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]