|
getBlogInfo |
|
Description
Returns a struct containing information about a specified blog.
Syntax
reseller.getBlogInfo(version, username, password, blog_id)
Request Fields
| • | version - Specifies the version number of the API. Set this to "1.3". This value is currently ignored, but will be useful for API changes in future versions. |
| • | username - Your reseller account username. |
| • | password - Your reseller account password. |
| • | blog_id - The ID number of the blog for which you want information. |
Response Fields
Returns a struct with the following structure:
| • | blog_id - Blog ID |
| • | name - Blog name |
| • | hostname - Blog hostname |
| • | secondary_hostnames - List of secondary hostnames for this blog |
| • | url - Blog url |
| • | admin_url - Blog administrative url |
| • | package - The package for this blog |
| • | status - The status for this blog |
| • | username - The username of the owner account |
| • | email - The email address of the owner account |
| • | create_time - When this blog was created |
| • | trial_expire_time - When the trial-mode for this blog ends (only relevant if status is 'trial') |
| • | billing_start_time - When billing began for this blog (not relevant if status is 'trial') |
| • | disk_usage_mbytes_allowed |
| • | disk_usage_mbytes_used |
| • | bandwidth_mbytes_allowed |
| • | bandwidth_mbytes_used |
| • | auto_transfer_upgrade_allowed - Boolean - Indicates if automatic upgrade for transfer usage has been enabled. Automatic upgrades will prevent a blog from being disabled due to transfer-usage overages, by automatically increasing the blog's transfer allowance for the month that it exceeds its transfer amount. Returns '0' (not activated) or '1' (activated). |
| • | auto_transfer_upgrade_quantity - Indicates the amount, in MB, that a blog enabled for automatic transfer upgrades may be upgraded. |