addWidget
The following methods are supported on this resource:
Mount Points
The following URLs are examples of where this resource is mounted :
| XML: | http://api.hi5.com |
| *JSON: | http://api.hi5.com |
| *JSON endpoints are mounted read-only. | |
update
Add or update a widget defined by code to the profile of the user defined by authToken.
If a widgetId is specified than the widget is updated, otherwise it is just added.
Possible HTTP Parameters
| name | description |
|---|---|
| code | the code for the actual widget |
| editUrl | the url to goto to edit this Widget. This is optional. |
| widgetId | the id of the Widget that is to be updated. If this is specified, the Widget be updated, otherwise the Widget will be added. This is optional. |
Output Payload
<pass/> if the widget is successfully embedded
Errors
| code | description |
|---|---|
| 503 | if request violates internal constraints. |
| 403 | if the session key, api key, or api signature is invalid |