Update Widget
Copied
https://api.ocamba.com/v2/adex/widgets/{id}
Copied
https://api.ocamba.com/v2/adex/widgets/{id}
Updates the specific Widget by setting the values of the parameters passed
Name
Descriptionidstringrequired
Unique identifier for the object defined as a path parameter.Example: 12345
Name
Descriptioncontentstring
The widget content. This is the place where you can put HTML content with replacable fragments(macros). Where HTML page is rendered, placeholders are replaced with real macro values.macros[ widget-macro ]
The array of macro objects.Macro
Name
Descriptionnamestring
The macro name.Example: TITLE
requirednumber (int)
Acceptable values are - 0/1.Example: 1
typestring
At this time only text macros are supported.Example: text
namestringrequired
The widget name.Example: My first widget
204 - No Content
tip
1 If you don't know the widget id, list the widgets to find it.
note
1 Updatable fields are - name, content and macros.