Bewerken

Delen via


ExtensionQuery interface

An ExtensionQuery is used to search the gallery for a set of extensions that match one of many filter values.

Properties

assetTypes

When retrieving extensions with a query; frequently the caller only needs a small subset of the assets. The caller may specify a list of asset types that should be returned if the extension contains it. All other assets will not be returned.

filters

Each filter is a unique query and will have matching set of extensions returned from the request. Each result will have the same index in the resulting array that the filter had in the incoming query.

flags

The Flags are used to determine which set of information the caller would like returned for the matched extensions.

Property Details

assetTypes

When retrieving extensions with a query; frequently the caller only needs a small subset of the assets. The caller may specify a list of asset types that should be returned if the extension contains it. All other assets will not be returned.

assetTypes: string[]

Property Value

string[]

filters

Each filter is a unique query and will have matching set of extensions returned from the request. Each result will have the same index in the resulting array that the filter had in the incoming query.

filters: QueryFilter[]

Property Value

flags

The Flags are used to determine which set of information the caller would like returned for the matched extensions.

flags: ExtensionQueryFlags

Property Value