properties object when creating or updating a connection. All properties are nested within the connection request body.
Properties
string
required
MongoDB connection protocol. Use
mongodb for standard connections or mongodb+srv for
connections using DNS seed list format (typically used with MongoDB Atlas).string
required
MongoDB server hostname or fully qualified domain name.
string
required
Username for authenticating to the MongoDB server.
object
required
Reference to a Prophecy secret containing the MongoDB password.
- When using the create connection API, the secret must be stored in Prophecy before creating the connection.
- When using the create fabric API, replace this whole object with the string
{{SECRET}}, which references the secret being created in parallel to the connection.
string
required
Name of the MongoDB database where Prophecy will write data by default.
string
required
Name of the collection where Prophecy will write data by default.

