method
RiduClient.list
RiduClient.list<
Slug extends CollectionSlug<Config>,
const Options extends ListOptions<
WhereFor<Config, Slug>,
SelectFor<Config, Slug>,
PopulateFor<Config, Slug>,
LocaleFor<Config>,
>
| undefined = undefined,
>(
collection: Slug,
options?: Options,
): Promise<PageEnvelope<CollectionQueryResult<Config, Slug, Options>>>List authorized collection documents with locale-, projection-, and population-dependent results.
Related types
CollectionSlugThe generated union of collection slugs.
ListOptionsTyped filtering, projection, population, sorting, pagination, locale, and trash options.
WhereForResolve a collection filter type.
SelectForResolve a collection projection type.
PopulateForResolve a collection population type.
PageEnvelopeA paginated REST list response.
OutputForResolve a collection document output type.
AllLocalesOutputForResolve locale-keyed collection output when generated, otherwise ordinary output.