REST Resource: assetSearch

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.