merge_entities
Fold one entity into another, with an audit id and a grace period you must read.
async fn merge_entities(&self, survivor_id: &str, input: &MergeEntitiesInput) -> Result<MergeEntitiesResult, BrainHttpError>async fn merge_entities(&self, request: &EntityMergeRequest) -> Result<EntityMergeResponse>Parameters
ParameterTypeRequired
survivor_idstringrequiredThe entity that remains. Positional on the HTTP tier; the wire field is survivor.
mergedstringrequiredThe entity to fold in.
confidencefloatoptionalConfidence in the merge.
reasonstringoptionalWhy — recorded in the audit entry.
Returns
FieldTypePresence
audit_idstringalwaysThe audit record for this merge.
grace_period_secondsintegeralwaysHow long unmerge_entity will still work. After it elapses the merge is permanent — read this value rather than assuming a default.
On the wire
Ids are fixed-width UUID bytes rather than strings, attributes is an opaque
attributesBlob, and every request carries a requestId plus an optional
actAs. See Wire client.
See also
Was this page helpful?