Podio API Documentation

Views: Create view

POST /view/app/{app_id}/

Creates a new view on the given app.

Usage
PHP Client
PodioView.php
PodioView::create( $app_id, $attributes = array() );
Ruby Gem
view.rb
Podio::View.create( app_id, attributes )
Parameters
app_id*
Required.
Request { "name": The name of the new view,
"private": True if the view is private to the creator, otherwise it is public (defaults to false) "sort_by": How the sorting should be, see the area for details, "sort_desc": True if sorting should be descending, false otherwise, "filters": The filters on the view [ { "key": The key of the filter, either a field id or special types like "created_by", "last_edit_by", "values": The value(s) to be used for filtering, depends on the type of field. See the area for details. }, ... (more filters) ], "layout": The layout used, see the app area for details, "fields": Any specific settings for fields { "{field_id}": The setting for the given field { "delta_offset": The offset from the fields normal delta, "width": Any specific width the field is rendered as, "hidden": True if the field is hidden, False otherwise, "use": The use of the column either "x_axis" or "y_axis", if any }, ... (more fields) },
"grouping": grouping configuration, otherwise null
{
"type": "field" or "revision" (grouping by an app field or by created_by | created_on | tags),
"value": field_id in case of "field" type, "created_by", "created_on" or "tags" in case of "revision",
"sub_value": interval granularity for date related groupings (date or calculation fields or created_on). "date", "weekday", "week", "month" or "year"
} }
Response { "view_id": The id of the newly created view }

Sandbox

The sandbox only handles GET operations for now.