carbond.collections.FindConfig¶
extends CollectionOperationConfig
The find operation config
Instance Properties¶
- ¶
allowUnauthenticated booleanInherited fromCollectionOperationConfigDefault false Description Allow unauthenticated requests to the operation
- ¶
description stringInherited fromCollectionOperationConfigDefault undefined Description A brief description of the operation used by the documentation generator
- ¶
endpoint Inherited fromCollectionOperationConfig(read-only)Description The parent endpoint/collection that this configuration is a member of
- ¶
example Inherited fromCollectionOperationConfigDefault undefined Description An example response body used for documentation
- ¶
idParameterName stringInherited fromCollectionOperationConfig(read-only)Description The collection object id property name. Note, this is configured on the top level Collectionand set on the configure during initialzation.
- ¶
maxPageSize numberRequired Description If set, then the “limit” parameter will be restricted to min(limit, maxPageSize)
- ¶
noDocument booleanInherited fromCollectionOperationConfigDefault false Description Exclude the operation from “docgen” API documentation
- ¶
options object.<string, *>Inherited fromCollectionOperationConfigRequired Description Any additional options that should be added to options passed down to a handler.
- ¶
pageSize booleanRequired Description The page size
- ¶
parameters object.<string, carbond.OperationParameter>Required Description The id query parameter (will use idParameterNameas name) (will be omitted ifsupportsIdQueryisfalse)
- ¶
responses Object.<string, carbond.OperationResponse>Inherited fromCollectionOperationConfigRequired Description Add custom responses for an operation. Note, this will override all default responses.
- ¶
supportsIdQuery booleanRequired Description Support id queries (id query parameter)
- ¶
supportsPagination booleanRequired Description Support pagination (note, if true, overrides supportsPagination)
- ¶
supportsSkipAndLimit booleanRequired Description Support skip and limit