AbstractStatic ReadonlydefaultThe default asset type filter
Static ReadonlytokenThe token cost in the tokenCurrency
Static ReadonlytokenThe token currency
StaticarticulateStaticauthenticatedPerforms an authenticated fetch. If the user is not authenticated, this API will throw.
The url to fetch.
OptionalisAuthOptional: booleanA promise for the fetch
StaticauthenticatedPerforms an authenticated post. If the user is not authenticated, this API will throw.
The url to post.
A promise for the post
StaticfetchFetches the asset from the Polyverse backend.
The library ID to fetch the asset from.
The asset ID to fetch.
A promise for the asset object.
StaticfetchFetches the asset list from the Polyverse backend. This API is used to fetch assets from the Polyverse backend. The assets can be fetched from the global library, user subscriptions, a channel or a library.
The sort type to use.
The number of contents to fetch.
The offset to fetch the contents from.
The type of fetch to perform.
The object ID to fetch the contents from.
The categories to fetch the assets from.
The asset type filters to include.
OptionalignoreAssetTypeFilters: (The asset type filters to ignore.
OptionalincludeCategories: boolean
Whether to include categories in the fetch.
OptionalsearchQuery: string
The search query to use.
A promise for the library asset contents.
StaticfetchFetches the Polytron Object from the Polyverse backend.
The identifier of the object to fetch.
The ID of the object to fetch.
The PolytronTask object.
StaticfetchFetches the featured Polytron lists from the Polyverse backend.
The PolytronFeaturedListResponse object.
StaticfetchFetches the Polytron task status from the Polyverse backend.
The task ID to fetch.
The PolytronTask object.
StaticfetchFetches the Polytron task status from the Polyverse backend.
Optionalquery: stringThe PolytronTask object.
StaticfetchFetches the user configuration from the Polyverse backend.
A promise for the asset object.
StaticfetchFetches the user libraries with permission data from the Polyverse backend.
A promise for the array of libraries.
StaticformatFormats the token cost in the current PolyverseService.tokenCurrency.
The token cost to format.
The formatted token cost.
StaticopenOpen the Polyverse library or asset in the browser.
The library ID to open.
OptionalassetID: string
The optional asset ID to open.
StaticopenOpen the Polytron in the browser.
The object identifier to open.
The object ID to open.
StaticopenOpen the Polytron Task in the browser.
The task ID to open.
StaticpostPosts a Polytron task request to the Polyverse backend.
The task to submit.
The PolytronTask object.
StaticsearchSearches the Polytron catalog from the Polyverse backend.
The query to search.
The PolytronCatalogSearchResponse object.
The PolyverseService class provides access to the Polyverse API.