carbond.mongodb.MongoDBUpdateConfig¶
extends UpdateConfig
The MongoDB update operation config
Instance Properties¶
- ¶
allowUnauthenticated booleanInherited fromUpdateConfigDefault false Description Allow unauthenticated requests to the operation
- ¶
description stringInherited fromUpdateConfigDefault undefined Description A brief description of the operation used by the documentation generator
- ¶
driverOptions object.<string, *>Required Description Options to be passed to the mongodb driver (XXX: link to leafnode docs)
- ¶
endpoint Inherited fromUpdateConfig(read-only)Description The parent endpoint/collection that this configuration is a member of
- ¶
example Inherited fromUpdateConfigDefault undefined Description An example response body used for documentation
- ¶
idParameterName stringInherited fromUpdateConfig(read-only)Description The collection object id property name. Note, this is configured on the top level Collectionand set on the configure during initialzation.
- ¶
noDocument booleanInherited fromUpdateConfigDefault false Description Exclude the operation from “docgen” API documentation
- ¶
options object.<string, *>Inherited fromUpdateConfigRequired Description Any additional options that should be added to options passed down to a handler.
- ¶
parameters object.<string, carbond.OperationParameter>Required Description The “query” parameter definition (will be omitted if supportsQueryisfalse)
- ¶
responses Object.<string, carbond.OperationResponse>Inherited fromUpdateConfigRequired Description Add custom responses for an operation. Note, this will override all default responses.
- ¶
returnsUpsertedObjects booleanInherited fromUpdateConfigDefault false Description Whether or not the HTTP layer returns objects created via an upsert
- ¶
schema ObjectInherited fromUpdateConfigDefault undefined Description The schema used to validate the request body. No validation will be performed if this is left undefined.
- ¶
supportsQuery booleanDefault trueDescription Whether or not the query parameter is supported. Note, “query” here refers to a MongoDB query and not the query string component of the URL.
- ¶
supportsUpsert booleanInherited fromUpdateConfigDefault false Description Whether of not the client is allowed to create objects in the collection using the PATCH method