listAndCount - API Key Module Reference
This documentation provides a reference to the listAndCount method. This belongs to the API Key Module.
This method retrieves a paginated list of API keys along with the total count of available API keys satisfying the provided filters.
Example
To retrieve a list of API keys using their IDs:
By default, only the first 15 records are retrieved. You can control pagination by specifying the skip and take properties of the config parameter:
Parameters
filtersFilterableApiKeyPropsThe filters to apply on the retrieved API keys.
filtersFilterableApiKeyPropsconfigFindConfig<ApiKeyDTO>The configurations determining how the api API is retrieved. Its properties, such as select or relations, accept the
attributes or relations associated with a API key.
configFindConfig<ApiKeyDTO>select or relations, accept the
attributes or relations associated with a API key.Returns
The list of API keys along with their total count.
Was this section helpful?