patch https://{instance_zuid}.api.zesty.io/v1/web/views/
Updates one or more properties of a specific view file.
Note that the fileName
field is not updatable if the view's type
is a templateset
, pageset
or block
. You will receive a validation error with message:
"file names for views of type {view_type} can not be updated"
Body: raw JSON
name | description |
---|---|
code | [string] Mixed string of html, parsley, inline css, js etc. |
fileName | [string] Must be unique. No spaces or special chars allowed. Note that this is not updatable if the view's type is a templateset , pageset or block . |