Create/Update/Delete APIs for Sight Widgets

05/29/18 Edited 12/09/19

I don't see any Create/Update/Delete APIs for Sight Widgets (Read is handled via getting a sight given it's id). In the docs, the sight update command can only be used to rename the site. I've tried to pass in the complete JSON for the sight along with it's updated widgets... but get a

{

  "errorCode" : 1008,

  "message" : "Unable to parse request. The following error occurred: Field \"widgets\" was of unexpected type.",

  "refId" : "wuahgfs78kde"

}

Did I overlook an API or is this functionality missing?

Popular Tags:

Comments

  • I'm surprised the sights update API did not work because when I sniff using the user interface... the save command performs a POST of the JSON for all widgets in the sight....

  • SasanSasan Employee

    Jason,

    Unfortunately, we currently do not have support for that.  We will add it to the feature enhancement request.

    Thanks

    Sasan

Sign In or Register to comment.