poly.users.assets.list
GET {{baseUrl}}/v1/:name/assets?format=<string>&orderBy=<string>&pageSize=<integer>&pageToken=<string>&visibility=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>"aUser=<string>&upload_protocol=<string>&uploadType=<string>
Lists 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.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
format | string | Return only assets with the matching format. Acceptable values are: | |
BLOCKS , FBX , GLTF , GLTF2 , OBJ , and TILT . | |||
orderBy | string | Specifies an ordering for assets. Acceptable values are: | |
BEST , NEWEST , OLDEST . Defaults to BEST , which ranks assets | |||
based on a combination of popularity and other features. | |||
pageSize | string | The maximum number of assets to be returned. This value must be between 1 | |
and 100 . Defaults to 20 . | |||
pageToken | string | Specifies a continuation token from a previous search whose results were | |
split into multiple pages. To get the next page, submit the same request | |||
specifying the value from | |||
next_page_token. | |||
visibility | string | The visibility of the assets to be returned. | |
Defaults to | |||
VISIBILITY_UNSPECIFIED | |||
which returns all assets. | |||
$.xgafv | string | V1 error format. | |
access_token | string | OAuth access token. | |
alt | string | Data format for response. | |
callback | string | JSONP | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
upload_protocol | string | Upload protocol for media (e.g. "raw", "multipart"). | |
uploadType | string | Legacy upload protocol for media (e.g. "media", "multipart"). |
RESPONSES
status: OK
{"nextPageToken":"aute dolor","totalSize":-31641799,"userAssets":[{"asset":{"authorName":"magna quis","createTime":"ut in Lorem fugiat","description":"in quis et culpa do","displayName":"laboris non culpa","formats":[{"formatComplexity":{"lodHint":85553351,"triangleCount":"mollit in Excepteur esse"},"formatType":"amet nostrud in non","resources":[{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"root":{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"formatComplexity":{"lodHint":-49589100,"triangleCount":"ipsum dolor"},"formatType":"adipisicing magna ut","resources":[{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"root":{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"isCurated":false,"license":"UNKNOWN","metadata":"commodo sint ipsum enim amet","name":"elit ut qui","presentationParams":{"backgroundColor":"dolore elit consequat","colorSpace":"UNKNOWN","orientingRotation":{"w":-45636181.59388652,"x":39445627.292981744,"y":6278012.070276871,"z":-35236695.56018189}},"remixInfo":{"sourceAsset":["deserunt","in dolor elit officia"]},"thumbnail":{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"updateTime":"pariatur incididunt enim","visibility":"VISIBILITY_UNSPECIFIED"}},{"asset":{"authorName":"dolor sint","createTime":"qui aute amet","description":"amet nisi sit veniam","displayName":"et exercitation","formats":[{"formatComplexity":{"lodHint":-86086157,"triangleCount":"aute magna nisi"},"formatType":"incididunt sint","resources":[{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"root":{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"formatComplexity":{"lodHint":-12342432,"triangleCount":"fugiat amet cillum"},"formatType":"sed Ut mollit incididunt","resources":[{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"root":{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"isCurated":false,"license":"CREATIVE_COMMONS_BY","metadata":"nostrud eiusmod","name":"consequat culpa","presentationParams":{"backgroundColor":"adipisicing Duis sed ut","colorSpace":"UNKNOWN","orientingRotation":{"w":49418844.14159125,"x":42669221.73142803,"y":-81134658.12295191,"z":-66404511.10748269}},"remixInfo":{"sourceAsset":["mollit proident","sint dolore Lorem consectetur"]},"thumbnail":{"contentType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"relativePath":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"url":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"updateTime":"anim irure","visibility":"UNLISTED"}}]}