10.1 mollom.createSite

mollom.createSite
Required Name Type Description
required public_key string Your public reseller key.
required time string Site server time in this format: yyyy-MM-dd'T'HH:mm:ss-.SSSZ
required hash string HMAC-SHA1 digest
required nonce string One time nonce
required url string The URL of the site that you want to create a key for.
required mail string The e-mail address of the site owner.
required status integer The initial status of the site; 1 for enabled, 0 for disabled.
required testing integer The testing mode of the site; 1 for enabled, 0 for disabled.
optional type string The site type; either 'personal', 'company', 'customer', 'non-profit'.
optional language string The ISO 639-1 language code of the site's primary language
returns public_key string The public key of the specified site.
returns private_key string The private key of the specified site.

Use this call to provide Mollom information about a new site, and to return the public and private encryption keys necessary for further operations with the site.

See http://www.sil.org/iso693-3/codes.asp for a list of the ISO 69101 language codes. Specifying the language code is highly recommended, as it can significantly improve the quality of Mollom's analysis.