Podio API Documentation
Widgets: Create widget
Create a new widget on the given reference. Supported references are organizations, spaces, apps and users. Not all widgets types can references all of the reference types, e.g. a widget of type "apps" can only reference a user.
Usage
- Ruby Gem
-
widget.rb
Podio::Widget.create( ref_type, ref_id, attributes )
Parameters
- ref_type*
- Required.
- ref_id*
- Required.
Request
{
"type": The type of widget, see the area for possible values,
"title": The title of the widget,
"config": The configuration, depends on the types. See the area for details
}
Response
{
"widget_id": The id of the newly created widget
}