blognote Management

XML-RPC Service

You need to invoke this service using an XML-RPC Client.

The following methods are available :

blogger.deletePost

Types of arguments : string, string, string, string, string
Type of return : boolean
blogger.deletePost(api_key, post_id, username, password, 'publish')
=> boolean

blogger.getUserInfo

Types of arguments : string, string, string
Type of return : struct
blogger.getUserInfo(api_key, username, password)
=> user structure

blogger.getUsersBlogs

Types of arguments : string, string, string
Type of return : struct[]
blogger.getUsersBlogs(api_key, username, password)
=> blog structure[]

metaWeblog.editPost

Types of arguments : string, string, string, struct, boolean
Type of return : boolean
metaWeblog.editPost(post_id, username, password, post, publish)
=> boolean

metaWeblog.getCategories

Types of arguments : string, string, string
Type of return : struct[]
metaWeblog.getCategories(blog_id, username, password)
=> category structure[]

metaWeblog.getPost

Types of arguments : string, string, string
Type of return : struct
metaWeblog.getPost(post_id, username, password)
=> post structure

metaWeblog.getRecentPosts

Types of arguments : string, string, string, integer
Type of return : struct[]
metaWeblog.getRecentPosts(blog_id, username, password, number)
=> post structure[]

metaWeblog.newMediaObject

Types of arguments : string, string, string, struct
Type of return : struct
metaWeblog.newMediaObject(blog_id, username, password, media)
=> media structure

metaWeblog.newPost

Types of arguments : string, string, string, struct, boolean
Type of return : string
metaWeblog.newPost(blog_id, username, password, post, publish)
=> post_id

pingback.extensions.getPingbacks

Types of arguments : string
Type of return : string[]
pingback.extensions.getPingbacks(url) => '[url, url, ...]'

Returns an array of URLs that link to the specified url.

See: http://www.aquarionics.com/misc/archives/blogite/0198.html

pingback.ping

Types of arguments : string, string
Type of return : string
pingback.ping(sourceURI, targetURI) => 'Pingback message'

Notifies the server that a link has been added to sourceURI,
pointing to targetURI.

See: http://hixie.ch/specs/pingback/pingback-1.0

system.listMethods

Types of arguments : string
Type of return : string
system.listMethods() => ['add', 'subtract', 'multiple']

Returns a list of the methods supported by the server.

system.methodHelp

Types of arguments : string, string
Type of return : string
system.methodHelp('add') => "Adds two integers together"

Returns a string containing documentation for the specified method.

system.methodSignature

Types of arguments : string, string
Type of return : string
Returns the signature details for a specified method

method
    The name of the XML-RPC method to get the details for

system.multicall

Types of arguments : string, string
Type of return : string
system.multicall([{'methodName': 'add', 'params': [2, 2]}, ...]) => [[4], ...]

Allows the caller to package multiple XML-RPC calls into a single
request.

See http://www.xmlrpc.com/discuss/msgReader$1208

wp.getAuthors

Types of arguments : string, string, string
Type of return : struct[]
wp.getAuthors(api_key, username, password)
=> author structure[]

wp.getTags

Types of arguments : string, string, string
Type of return : struct[]
wp.getTags(blog_id, username, password)
=> tag structure[]

wp.newCategory

Types of arguments : string, string, string, struct
Type of return : string
wp.newCategory(blog_id, username, password, category)
=> category_id