Skip to content

Project the attribute changes pending on an item

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

Dry-runs the pending attribute-edit proposals and returns, per attribute, the from and to values with the proposals behind them. Nothing is persisted; pending proposals of other kinds are reported only as a count.

itemId
required
string format: uuid

OK

Media type*/*
object
changes
required
Array<object>
object
slug
required
string
from
string | null
to
string | null
proposals
required
Array<object>
object
previousValue
string | null
newValue
string | null
authorActor
required
string
authorId
required
string format: uuid
authorAt
required
string format: date-time
actionId
required
string format: uuid
nonAttributePendingCount
required
integer format: int32