Resource: Reference
A reference represents the actual content of an asset. YouTube compares newly uploaded videos to a library of references for the purpose of automatically generating claims for the asset's owner(s).
JSON representation |
---|
{ "kind" : string , "status" : string , "statusReason" : string , "length" : number , "hashCode" : string , "urgent" : boolean , "fpDirect" : boolean , "contentType" : string , "audioswapEnabled" : boolean , "ignoreFpMatch" : boolean , "origination" : { object ( |
Fields | |
---|---|
kind
|
The type of the API resource. For |
status
|
The reference's status. |
statusReason
|
An explanation of how a reference entered its current state. This value is only present if the reference's status is either |
length
|
The length of the reference in seconds. |
hashCode
|
The MD5 hashcode of the reference content. Deprecated! This is no longer populated. |
urgent
|
Set this value to |
fpDirect
|
When uploading a reference, set this value to |
contentType
|
The type of content that the reference represents. |
audioswapEnabled
|
Set this field's value to |
ignoreFpMatch
|
Set this value to |
origination
|
The |
excludedIntervals[]
|
The list of time intervals from this reference that will be ignored during the match process. |
id
|
A value that YouTube assigns and uses to uniquely identify a reference. |
assetId
|
The ID that uniquely identifies the asset that the reference is associated with. |
duplicateLeader
|
The ID that uniquely identifies the reference that this reference duplicates. This field is only present if the reference's status is |
claimId
|
This field is present if the reference was created by associating an asset with an existing YouTube video that was uploaded to a YouTube channel linked to your CMS account. In that case, this field contains the ID of the claim representing the resulting association between the asset and the video. |
videoId
|
This field is present if the reference was created by associating an asset with an existing YouTube video that was uploaded to a YouTube channel linked to your CMS account. In that case, this field contains the ID of the source video. |
ExcludedInterval
Defines a time window within the reference that will be ignored during the match process.
JSON representation |
---|
{ "low" : number , "high" : number , "origin" : string , "timeCreated" : string } |
Fields | |
---|---|
low
|
The start (inclusive) time in seconds of the time window. The value can be any value between |
high
|
The end (inclusive) time in seconds of the time window. The value can be any value greater than |
origin
|
The source of the request to exclude the interval from Content ID matching. |
timeCreated
|
The date and time that the exclusion was created. The value is specified in RFC 3339
( |
Methods
- If your request is uploading a reference file, YouTube creates the reference from the provided content.