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 |
The type of the API resource. For this operation, the value is |
type |
The asset's type. This value determines which metadata fields might be included in the |
timeCreated |
The date and time the asset was created. The value is specified in RFC 3339 ( |
id |
An ID that YouTube assigns and uses to uniquely identify the asset. |
customId |
Custom ID assigned by the content owner to this asset. |
title |
Title of this asset. |
isrc |
The ISRC (International Standard Recording Code) for this asset. |
isrcs[] |
The ISRCs (International Standard Recording Code) for this asset. |
iswc |
The ISWC (International Standard Musical Work Code) for this asset. |
iswcs[] |
The ISWCs (International Standard Musical Work Code) for this asset. |
Methods |
|
---|---|
|
Searches for assets based on asset metadata. |