carbond.mongodb.MongoDBRemoveObjectConfig

extends RemoveObjectConfig

The MongoDB remove object operation config

Instance Properties

allowUnauthenticated
boolean
Inherited fromRemoveObjectConfig
Default false
Description Allow unauthenticated requests to the operation
description
string
Inherited fromRemoveObjectConfig
Default 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 fromRemoveObjectConfig
(read-only)
Description The parent endpoint/collection that this configuration is a member of
example
Inherited fromRemoveObjectConfig
Default undefined
Description An example response body used for documentation
idParameterName
string
Inherited fromRemoveObjectConfig
(read-only)
Description The collection object id property name. Note, this is configured on the top level Collection and set on the configure during initialzation.
noDocument
boolean
Inherited fromRemoveObjectConfig
Default false
Description Exclude the operation from “docgen” API documentation
options
object.<string, *>
Inherited fromRemoveObjectConfig
Required
Description Any additional options that should be added to options passed down to a handler.
parameters
object.<string, carbond.OperationParameter>
Inherited fromRemoveObjectConfig
Required
Description Operation specific parameters (e.g., “skip”, “limit”). These will be passed down to the operation handlers via the options parameter if they are not explicitly passed via another leading parameter (e.g., “id” and “update” for updateObject).
responses
Object.<string, carbond.OperationResponse>
Inherited fromRemoveObjectConfig
Required
Description Add custom responses for an operation. Note, this will override all default responses.
returnsRemovedObject
boolean
Inherited fromRemoveObjectConfig
Default false
Description Whether or not the HTTP layer returns the removed object