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.

createdByIds

[ ID !]

List of user IDs who created the assets.

databaseIds

[ String !]

List of database IDs to filter the query results.

deleted

Boolean flag to return only deleted assets.

first

Returns the first n elements from the list.

folderDatabaseIds

List of database IDs for folders to filter assets.

folderIds

[ ID ]

List of folder IDs to filter assets by their associated folders.

ids

[ ID !]

List of asset IDs to filter the query results.

inRootFolder

Boolean flag to filter assets that are in the root folder.

last

Returns the last n elements from the list.

notInLatestVersions

Excludes assets that are present in the latest project versions.

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