Podio API Documentation

Layout: Get layout

GET /layout/{app_id}/{badge_type}

Returns the definition of badge layout

  • badge_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.
badge_type*
Required.
Response {
"app_id": App id,
"default": True is layout is default (not user customized),
"type": "badge"/"relationship",
"fields": Layout field specification
{
"content": Content field layout - null if empty
{
"type": "field", "fivestar" or "vitrual"
"id": field_id for "field" type; voting_id for "fivestar" type; enum value for virtual type: "created_on", "created_by", "last_edit_by", "comment_count", "file_count", "app_item_id", "fivestar", "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 3" field layout - can be null
{
... (as in content)
},
"footer_1": "Footer 1" field layout - can be null
{
... (as in content)
},
"footer_2": "Footer 2" field layout - can be null
{
... (as in content)
},
"footer_3": "Footer 3" field layout - can be null
{
... (as in content)
},
"header": "Header" field layout - can be null
{
... (as in content)
},
}
}

Sandbox

Try the operation "/layout/{app_id}/{badge_type}"

You can simulate the API request by filling out the arguments below, and press the submit button to see the response.

You need to be logged in to Podio to use the Sandbox. Login here