Skip to main content

assets

Overview

Nameassets
TypeResource
Idgoogledevelopers.poly.assets

Fields

NameDatatypeDescription
totalSizeintegerThe total number of assets in the list, without pagination.
userAssetsarrayA list of UserAssets matching the request.
nextPageTokenstringThe continuation token for retrieving the next page. If empty, indicates that there are no more pages. To get the next page, submit the same request specifying this value as the page_token.

Methods

NameAccessible byRequired ParamsDescription
getSELECTassetsIdReturns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.
listSELECTLists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.
users_assets_listSELECTusersIdLists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.