ackDB

Resolve unresolved content to an entity

Moves an unresolved content record to an existing or new entity. Creates identity links, stores raw payload, writes traits to Postgres, and deletes from unresolved pool.

Conflict checking: If an identity link already exists on a different entity than the requested one, returns 409 IDENTITY_CONFLICT. Caller must merge entities first, then resolve.

post/api/v1/ackdb/entities/resolve

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Request body

unresolvedContentIdstring required

ID of the unresolved content record to resolve.

entityIdstring required

Target entity. Null = auto-create a new entity.

Example request

{
  "unresolvedContentId": "01HXYZ123456789ABCDEFGH",
  "entityId": "01HXYZ123456789ABCDEFGI"
}

Response

Content resolved to entity successfully

Example response

{
  "data": {
    "entityId": "01HXYZ123456789ABCDEFGI",
    "contentId": "01HXYZ123456789ABCDEFGJ",
    "identityLinksCreated": 1,
    "traitsWritten": 2
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.