Update field
Changed onUpdates only the properties present in the body; omitted properties keep their current value. Send null (or an empty string) for label, description, groupLabel, format, aiContext, synonyms or sampleValues to clear it. For drillFields, null reverts to the view default and an empty list or empty string removes drill. Timeframe fields (for example created_at[date]) and the shared fields of a composite topic cannot be cleared; that request is a 400.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/models/{modelId}/view/{viewName}/field/{fieldName}
- AuthHTTP bearer
Path parameters
Model UUID
View name. Must not contain whitespace; a trailing .view or .query.view file suffix is ignored.
Field name
Query parameters
The branch to work in: its orgBranchId, or its per-model branch ID as listed under branches by GET /api/v1/models?include=activeBranches. 404 when the branch has no branch on this model.
Request body
Example request
{
"newViewName": "orders"
}Response
Field updated successfully
Example response
{
"success": true
}Changes
- breaking
added the pattern
^\S*$to thepathrequest parameterviewName
- breaking
- breaking
the
request property type changed fromarrayto no type - info
added
subschema #1subschema #2to therequest propertyanyOflist - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
request property
list-of-types was widened by adding typesnull and stringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesnull and stringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
request property
list-of-types was widened by adding typesnull and stringto media typeapplication/json - info
request property
list-of-types was widened by adding typesnull and stringto media typeapplication/json - info
request property
list-of-types was widened by adding typesstringto media typeapplication/json
- breaking