-
Notifications
You must be signed in to change notification settings - Fork 9
Data api resource blogs
Yuji Takayama edited this page Jul 10, 2013
·
2 revisions
Property Name | Type | Data Type | Database Column | Private | Read Only | Description |
---|---|---|---|---|---|---|
id | value | unsigned integer | mt_blog.blog_id | Y | The ID of this site. | |
class | value | string | mt_blog_blog_class | Y | The object class of this site. (blog or website) | |
name | value | string | mt_blog.blog_name | Y | The name of this site. | |
description | value | string | mt_blog.blog_description | Y | The description of this site. | |
url | value | string | mt_blog.blog_site_url | Y | The URL of this site. | |
archiveUrl | value | string | mt_blog.blog_archive_url | Y | The URL for archive of this site. | |
customFields | ARRAY | - | Y | The list of customfields data for this site. | ||
customFields.basename | value | string | mt_field.field_basename | The basename of this customfield. | ||
customFields.value | value | string | The value of this customfield. |
{
"name" : "First Blog",
"id" : 1,
"description" : "My Personal Blog",
"url" : "http://example.com/blog/",
"archiveUrl" : "http://example.com/blog/archives/",
"class" : "blog"
"customFields" : {
"items" : [
{
"basename" : "cf_fields_1",
"value" : "Test data"
},
{
"basename" : "cf_field_2",
"value" : "Test data 2"
}
]
}
}