REST Resource: assetSearch

  • The asset search collection allows searching within all assets, providing a snippet with key details for each search result.

  • Asset metadata in search results might be outdated, so it's recommended to use assets.get() or assets.list() for up-to-date information before updating.

  • Each asset is uniquely identified by an ID assigned by YouTube, along with other details such as title, type, creation time, and custom ID.

  • The assetSnippet contains multiple fields such as kind , type , timeCreated , id , customId , title , isrc , isrcs , iswc and iswcs .

  • You can use the list method to search for assets based on asset metadata.

Resource: AssetSnippet

The asset search collection enables you to search within the set of all assets. Each search result contains a snippet that provides key details about an asset.

Note that the asset metadata returned in search results may be slightly out of date. If you intend to update an asset in the search result set, you should first retrieve the asset's complete and up-to-date metadata using either the assets.get() method or the assets.list() method.

JSON representation
 { 
 "kind" 
 : 
 string 
 , 
 "type" 
 : 
 string 
 , 
 "timeCreated" 
 : 
 string 
 , 
 "id" 
 : 
 string 
 , 
 "customId" 
 : 
 string 
 , 
 "title" 
 : 
 string 
 , 
 "isrc" 
 : 
 string 
 , 
 "isrcs" 
 : 
 [ 
 string 
 ] 
 , 
 "iswc" 
 : 
 string 
 , 
 "iswcs" 
 : 
 [ 
 string 
 ] 
 } 
Fields
kind

string

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

type

string

The asset's type. This value determines which metadata fields might be included in the metadata object.

timeCreated

string

The date and time the asset was created. The value is specified in RFC 3339 ( YYYY-MM-DDThh:mm:ss.000Z ) format.

id

string

An ID that YouTube assigns and uses to uniquely identify the asset.

customId

string

Custom ID assigned by the content owner to this asset.

title

string

Title of this asset.

isrc

string

The ISRC (International Standard Recording Code) for this asset.

isrcs[]

string

The ISRCs (International Standard Recording Code) for this asset.

iswc

string

The ISWC (International Standard Musical Work Code) for this asset.

iswcs[]

string

The ISWCs (International Standard Musical Work Code) for this asset.

Methods

list

Searches for assets based on asset metadata.
Design a Mobile Site
View Site in Mobile | Classic
Share by: