Difference between revisions of "API Collection Fields"
From unroole CMS wiki
Tommy.leung (Talk | contribs) |
Tommy.leung (Talk | contribs) |
||
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:
|