Add a Non-Individual Blog to a Network

Operation Summary: 
Adds a keyword, uber, or hidden blog to an existing network.
Resource URL: 
https://api.compendiumblog.com/app/blog
HTTP method: 
POST
HTTP Status Codes: 
201 Created
HTTP Status Code Details: 

201 Created
You will get back an HTTP 201 status code if the specified blog was successfully created.

Response Representations: 
JSON
Permitted Roles: 
Super Administrator
Super Delegate
Required Parameters: 
NetworkId
The network's unique identifier.
Title
The blog's title.
Type
The type of blog to create. May take on the value of comp for keyword blog, hidden for hidden blog or uber. When this value is set to comp, the Tags argument must be supplied as well.
Tags
An array of strings listing what words should be used to compend posts to this blog, expressed in JSON encoding (e.g. [ "first tag", "second tag", ... ]).
Optional Parameters: 
Description
The blog's description. If not supplied, a description is automatically generated. For keywod blogs, the title will be company name:blog title. For uberblogs, the title will be company name. For hidden blogs, the title will be "company name Pages".
Response Values: 
Success
The blog was created successfully.
Error
The blog was not created successfully.
Response Structure: 

JSON

Responses are single-member objects which have a property name based on the type of result.

The Success result will look like:

{ 'Success' : string}

Where the string is the system assigned unique identifier for the newly created blog.

The Error result will be a flat array of objects, which have keys for the message name and explanatory text.

{
     'Error' : [
       { 'Name' : string, 'Message' : string },
       { 'Name' : string, 'Message' : string },
       ...   
    ]
 }
Error Types: 
Write
error writing to the database
Title
title validation failure
Type
blog type validation failure
Tags
tags validation failure; happens only when creating keyword blog
Description
description validation failure
Uber
uberblog creation failed because one already exists
NetworkId
network identifier validation failure
Security
authorization problem
Additional Notes: 
Drupal 6 Appliance - Powered by TurnKey Linux