Patch View
PATCH {{protocol}}://{{instance_zuid}}.{{instances_api_url}}/{{instances_api_version}}/web/views/:view_zuid
name | description |
---|
code | [string] Optional. Mixed string of html, parsley, inline css, js etc. |
filename | [string] Optional. Unique. No spaces or special chars allowed. |
type | [string] Optional. snippet , ajax-json , ajax-html , 404 |
Request Params
Key | Datatype | Required | Description |
---|
purge_cache | boolean | | [boolean] Optional. |
- Default value false |
|
action
| string | | [string] Optional |
Request Body
{"code"=>"Here's some more updated codes"}
Key | Datatype | Required | Description |
---|
Content-Type | string | | |
RESPONSES
status: OK
{"_meta":{"timestamp":"2021-08-25T20:07:25.859637909Z","totalResults":1,"start":0,"offset":0,"limit":1},"data":{"ZUID":"11-d88bf2b7a6-lf0x03"}}