requestAssetsForSite
Requests all assets for a site.
Declaration
suspend fun requestAssetsForSite( siteId: String, timeoutMs: Long = DEFAULT_TIMEOUT_MS ): AssetResult
Summary
Returns
AssetResult containing the list of assets.
Throws
SitesException— if the request fails with an error.kotlinx.coroutines.CancellationException— if the coroutine is cancelled.
Parameters
| Name | Type | Summary |
|---|---|---|
| siteId | String | The site ID to query assets for. |
| timeoutMs | Long | Maximum time to wait for the request to complete. |
Requests all assets for a site.