mergeEntities
Fold one entity into another, with an audit id and a grace period you must read.
mergeEntities(survivorId: string, input: MergeEntitiesInput): Promise<MergeEntitiesResult>mergeEntities(request: EntityMergeRequest): Promise<EntityMergeResponse>Parameters
ParameterTypeRequired
survivorIdstringrequiredThe 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
auditIdstringalwaysThe audit record for this merge.
gracePeriodSecondsintegeralwaysHow long unmergeEntity 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?