Podio API Documentation

Layout: Update layout

POST /layout/{app_id}/{layout_type}

Update layout definition for an app:

  • layout_type : string "badge"/"relationship"


 

Usage
PHP Client
PodioView.php
PodioView::get( $view_id );
Ruby Gem
view.rb
Podio::View.find( id )
Parameters
app_id*
Required.
layout_type*
Required.
Request {
"fields": Layout field specification
{
"content": "Content" field layout - can be null
{
"type": "field", "fivestar" or "vitrual",
"id": field_id for "field" type,
voting_id for "fivestar" type,
string value for "virtual" type: "created_on", "created_by", "last_edit_by", "comment_count", "file_count", "app_item_id", "tags" },
"details_1": "Details 1" field layout - can be null
{
... (as in content)
},
"details_2": "Details 2" field layout - can be null
{
... (as in content)
},
"details_3": "Details 3" field layout - can be null
{
... (as in content)
},
"details_4": "Details 4" field layout - can be null
{
... (as in content)
},
"header": "Header" field layout - can be null
{
... (as in content)
}
}
}
Response

Updated layout definition

Sandbox

The sandbox only handles GET operations for now.