Difference between revisions of "API Asset Fields"
From unroole CMS wiki
Tommy.leung (Talk | contribs) |
Tommy.leung (Talk | contribs) |
||
Line 68: | Line 68: | ||
| string | | string | ||
| Unique string to help with querying for a specific set of assets uploaded in a batch | | Unique string to help with querying for a specific set of assets uploaded in a batch | ||
+ | |- | ||
+ | | private | ||
+ | | boolean | ||
+ | | 1 - True<br />0 - False | ||
+ | |- | ||
+ | | sharable | ||
+ | | boolean | ||
+ | | 1 - True<br />0 - False | ||
+ | |- | ||
+ | | editable | ||
+ | | boolean | ||
+ | | 1 - True<br />0 - False | ||
+ | |- | ||
+ | | printable | ||
+ | | boolean | ||
+ | | 1 - True<br />0 - False | ||
+ | |- | ||
+ | | used | ||
+ | | boolean | ||
+ | | If the asset is used in other parts of the cms (gallery, page, collection...etc.)<br />1 - True<br />0 - False | ||
+ | |- | ||
+ | | tags | ||
+ | | array of strings | ||
+ | | | ||
+ | |- | ||
+ | | url | ||
+ | | string | ||
+ | | | ||
+ | |- | ||
+ | | url_thumb | ||
+ | | string | ||
+ | | | ||
|} | |} |
Revision as of 15:53, 28 May 2012
Field | Type | Description |
---|---|---|
id | integer | |
name | string | |
description | string | |
file_name | string | |
asset_content_type | string | mime-type of the asset Internet media type |
file_size | integer | in bytes |
asset_updated_at | datetime | When asset was updated (replace the asset, regenerated from original...etc.) |
updated_at | datetime | When the asset meta data was updated (name, description...etc.) |
created_at | datetime | When the asset was created |
type | string | API Asset Types |
video_id | string | Youtube video id |
dimensions_original | string | [width]x[height] |
dimensions_thumb | string | [width]x[height] |
dimensions_icon | string | [width]x[height] |
deleted | boolean | 1 - True 0 - False |
upload_id | string | Unique string to help with querying for a specific set of assets uploaded in a batch |
private | boolean | 1 - True 0 - False |
sharable | boolean | 1 - True 0 - False |
editable | boolean | 1 - True 0 - False |
printable | boolean | 1 - True 0 - False |
used | boolean | If the asset is used in other parts of the cms (gallery, page, collection...etc.) 1 - True 0 - False |
tags | array of strings | |
url | string | |
url_thumb | string |