Magidoc

assets
Query

Retrieve a list of assets based on specified filters.

Arguments

#

after

Returns the elements in the list that come after the specified cursor.

afterIndex

Returns the elements in the list that come after the specified index.

before

Returns the elements in the list that come before the specified cursor.

beforeIndex

Returns the elements in the list that come before the specified index.

first

Returns the first n elements from the list.

last

Returns the last n elements from the list.

orderBy

The order in which assets should be returned.

ownerId

The ID of the owner associated with the asset.

types

The types of assets to filter by.

Response

#

Returns QueryAssetConnection .

Example

#

3