Blogs service document content 

When working with the Blogs publishing APIs, first obtain the Blogs service document. The service document provides access to all of the Blogs resources that you can update.

The resources that you can update from the service document include the following resources:

The following section provides an outline of the elements contained by the service document:

service
   workspace "Blogs"
      collection "My Blogs"
   workspace "(blog title)" (one for each blog) blog collections
      collection "weblog Entries"
         categories (tags document listing tags for all of the posts in the blog)
      collection "Media Entries"
      collection "Comments"

The following sections describe the elements included in the outline.


The <service> element

Usage

Namespace

Attributes

Children


The Blogs <workspace> element

Usage

Namespace

Attributes

Children


The My Blogs <collection> element

Usage

Namespace

Attributes

Children


The <blog_title> <workspace> element

There is one workspace element named for each blog for which the user is an author.

Usage

Namespace

Attributes

Children


The weblog Entries <collection> element

Usage

Namespace

Attributes

Children


The Media Entries <collection> element

Usage

Namespace

Attributes

Children


The Comments <collection> element

Usage

Namespace

Attributes

Children


Example

<?xml version="1.0"?> <service xmlns="http://www.w3.org/2007/app"> <generator version="2.0" uri="http://www.ibm.com/xmlns/prod/sn" xmlns="http://www.w3.org/2005/Atom">IBM Connections - Blogs</generator> <workspace> <title type="text" xmlns="http://www.w3.org/2005/Atom">Blogs</title> <collection href="https://blogs.enterprise.acme/blogs/homepage/api/blogs"> <title type="text" xmlns="http://www.w3.org/2005/Atom">My Blogs</title> <accept>application/atom+xml;type=entry</accept> <categories fixed="yes"> </categories> </collection> </workspace> <workspace> <title type="text" xmlns="http://www.w3.org/2005/Atom">Sports Signup </title> <collection href="https://blogs.enterprise.acme/blogs/sporty/api/entries"> <title type="text" xmlns="http://www.w3.org/2005/Atom">weblog Entries</title> <accept>application/atom+xml;type=entry</accept> <categories fixed="no" href="https://blogs.enterprise.acme/blogs/sporty/api/tags"> </categories> </collection> <collection href="https://blogs.enterprise.example.com/blogs/sporty/api/media"> <title type="text" xmlns="http://www.w3.org/2005/Atom">Media Entries</title> <accept>image/jpeg</accept> <accept>image/gif</accept> <accept>image/png</accept> <categories fixed="yes"> </categories> </collection> <collection href="https://blogs.enterprise.acme/blogs/sporty/api/comments"> <title type="text" xmlns="http://www.w3.org/2005/Atom">Comments</title> <accept>application/atom+xml;type=entry</accept> <categories fixed="yes"> </categories> </collection> </workspace> </service>


Parent topic

Retrieve the Blogs service document

Related reference
Retrieve a blog comment
Delete comments


   

 

});