Skip to content

Resolve a catalog widget's data for a project

POST
/api/v1/projects/{projectId}/widgets/{widgetId}/resolve
curl --request POST \
--url https://app.avera.io/api/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/widgets/example/resolve \
--header 'Content-Type: application/json' \
--data '{ "params": { "container": true, "nodeType": "ARRAY", "string": true, "integralNumber": true, "missingNode": true, "valueNode": true, "pojo": true, "number": true, "short": true, "int": true, "long": true, "double": true, "bigDecimal": true, "bigInteger": true, "textual": true, "boolean": true, "binary": true, "floatingPointNumber": true, "empty": true, "array": true, "null": true, "object": true, "float": true, "embeddedValue": true }, "contextItemId": "example" }'

Resolves a widget catalog member live, with its parameters as the layout declares them and the page’s item as context when the parameters anchor on it. The payload’s shape is the member’s own, rendered by the client’s registry component. Resolving reads items, so the request’s branch is the branch it reads on.

projectId
required
string format: uuid
widgetId
required
string
Media typeapplication/json
object
params
required
object
container
boolean
nodeType
string
Allowed values: ARRAY BINARY BOOLEAN MISSING NULL NUMBER OBJECT POJO STRING
string
boolean
integralNumber
boolean
missingNode
boolean
valueNode
boolean
pojo
boolean
number
boolean
short
boolean
int
boolean
long
boolean
double
boolean
bigDecimal
boolean
bigInteger
boolean
textual
boolean
boolean
boolean
binary
boolean
floatingPointNumber
boolean
empty
boolean
array
boolean
null
boolean
object
boolean
float
boolean
embeddedValue
boolean
contextItemId
string | null

OK

Media type*/*
object