Difference between revisions of "API Collection Fields"
From unroole CMS wiki
Tommy.leung (Talk | contribs) |
Tommy.leung (Talk | contribs) |
||
Line 18: | Line 18: | ||
|- | |- | ||
| activate_at | | activate_at | ||
− | | date | + | | [http://www.w3.org/TR/NOTE-datetime ISO 8061 date] |
| The start date for the activation of this collection. | | The start date for the activation of this collection. | ||
|- | |- | ||
| deactivate_at | | deactivate_at | ||
− | | date | + | | [http://www.w3.org/TR/NOTE-datetime ISO 8061 date] |
| The end date for the activation of this collection. | | The end date for the activation of this collection. | ||
|- | |- | ||
Line 42: | Line 42: | ||
|- | |- | ||
| updated_at | | updated_at | ||
− | | datetime | + | | [http://www.w3.org/TR/NOTE-datetime ISO 8061 datetime] |
| | | | ||
|- | |- | ||
| created_at | | created_at | ||
− | | datetime | + | | [http://www.w3.org/TR/NOTE-datetime ISO 8061 datetime] |
| | | | ||
|- | |- |
Latest revision as of 16:07, 4 June 2012
Field | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | integer | ||||||||||||||||||||||
name | string | ||||||||||||||||||||||
description | string | ||||||||||||||||||||||
activate_at | ISO 8061 date | The start date for the activation of this collection. | |||||||||||||||||||||
deactivate_at | ISO 8061 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 | ISO 8061 datetime | ||||||||||||||||||||||
created_at | ISO 8061 datetime | ||||||||||||||||||||||
items | array of collection items | Each item:
|