Skip to content

Project the relationship changes pending on an item

GET
/api/v1/items/{itemId}/pending-relationship-projection
curl --request GET \
--url https://app.avera.io/api/v1/items/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pending-relationship-projection

Dry-runs the pending relationship proposals and returns the links they would add, remove or clear suspect on, as a delta over the current set. Nothing is persisted. Added rows are enriched with the related item’s details; removals and clears reference an existing relationship by id.

itemId
required
string format: uuid

OK

Media type*/*
object
added
required
Array<object>
object
direction
required
string
relationshipTypeId
required
string
relationshipLabel
required
string
relatedItemId
string | null format: uuid
relatedItemNumber
string | null
relatedItemTitle
string | null
relatedItemStatus
string | null
relatedItemSeq
integer | null format: int64
relatedItemRevision
string | null
relatedItemTypeId
string | null
relatedItemTypeName
string | null
actionId
required
string format: uuid
authorActor
required
string
authorId
required
string format: uuid
authorAt
required
string format: date-time
removed
required
Array<object>
object
relationshipId
required
string format: uuid
actionId
required
string format: uuid
authorActor
required
string
authorId
required
string format: uuid
authorAt
required
string format: date-time
suspectCleared
required
Array<object>
object
relationshipId
required
string format: uuid
actionId
required
string format: uuid
authorActor
required
string
authorId
required
string format: uuid
authorAt
required
string format: date-time