POST
/v0/documentCollections/mongodb/updateMongoSyncUpdate Mongo Collection SyncCredal lets you easily sync your MongoDB data for use in Collections and Agents. Update an existing sync from a MongoDB collection to a Credal collection via the mongoCredentialId, to disambiguate between multiple potential syncs to a given collection.
Request body
application/json
object
configobjectrequiredShow child attributes
collectionNamestringrequiredfilterExpressionvaluerequiredAny type
sourceFieldsobjectrequiredShow child attributes
bodystringrequiredsourceNamestringrequiredsourceSystemUpdatedstringsourceUrlstringsyncNamestringrequiredmongoCredentialIdstring · uuidrequiredmongoURIstringrequired{
"config": {
"collectionName": "string",
"filterExpression": null,
"sourceFields": {
"body": "string",
"sourceName": "string",
"sourceSystemUpdated": "string",
"sourceUrl": "string"
},
"syncName": "string"
},
"mongoCredentialId": "00000000-0000-0000-0000-000000000000",
"mongoURI": "string"
}Responses
objectdocumentCollections_MongoCollectionSyncResponse
MongoCollectionSyncResponse
mongoCredentialIdstring · uuidrequiredresourceIdstringrequiredsyncLaunchedbooleanrequired{
"mongoCredentialId": "00000000-0000-0000-0000-000000000000",
"resourceId": "string",
"syncLaunched": true
}