Difference between revisions of "API Collection Fields"

From unroole CMS wiki
Jump to: navigation, search
Line 51: Line 51:
 
| items
 
| items
 
| array of collection items
 
| array of collection items
|  
+
| Each item:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-

Revision as of 13:49, 31 May 2012

Field Type Description
id integer
name string
description string
activate_at date The start date for the activation of this collection.
deactivate_at date The end date for the activation of this collection.
active boolean Make use of activate_at and deactivate_at to activate the collection.
disable_deactivation boolean Disable the deactivation date so that the collection will always be active.
slideshow boolean Whether the collection is a slideshow or not.
rotation_speed integer Rotation speed of the slideshow in seconds.
updated_at datetime
created_at datetime
items array of collection items Each item:
Field Type Description
id integer id of the collection item
type string "Asset" or "Page"
item_id integer The actual id for the asset or page
sharable boolean Item can be shared through the Mobile Briefcase
editable boolean Item can be opened in other applications through the Mobile Briefcase
printable boolean Item can be printed through the Mobile Briefcase