Project the attribute changes pending on an item
GET
/api/v1/items/{itemId}/pending-attribute-projection
const url = 'https://app.avera.io/api/v1/items/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pending-attribute-projection';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.avera.io/api/v1/items/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pending-attribute-projectionDry-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.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”itemId
required
string format: uuid
Responses
Section titled “Responses”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