-
Notifications
You must be signed in to change notification settings - Fork 9
Data api resource categories
Yuji Takayama edited this page Jul 10, 2013
·
1 revision
Property Name | Type | Data Type | Database Column | Private | Read Only | Description |
---|---|---|---|---|---|---|
blog | Object | Blogs | Y | The blog of this category. | ||
blog.id | value | unsigned int | mt_blog.blog_id | Y | The ID of the blog that contains this category. | |
id | value | unsigned integer | mt_category.category_id | Y | The ID of this category. | |
class | value | string | mt_category.category_class | Y | The object class for this category. | |
label | value | string | mt_category.category_label | The label of this category. | ||
description | value | string | mt_category.category_description | The description of this category. | ||
parent | value | unsigned integer | mt_category.category_parent | Y | The ID of the parent category for this category. | |
basename | value | string | mt_category.category_basename | The basename for this category. | ||
customFields | ARRAY | CustomFields | Y | The list of customfields data for this comment. | ||
customFields.basename | value | string | mt_field.field_basename | The basename of this customfield. | ||
customFields.value | value | string | The value of this customfield. |
##Example
{
"customFields" : [
{
"basename" : "cf_flag",
"value" : "1"
}
],
"blog" : {
"id" : 1
},
"class" : "category",
"label" : "News",
"description" : "This category includes news release.",
"parent" : 1,
"basename" : "news"
}