Communities service document content 

When working with the Communities publishing APIs, first obtain the Communities service document. The service document provides access to all of the Communities 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 "Communities Collections"
    collection "All Communities"
      categories (tags document listing tags for all of the communities)
      flags (tags document listing flags used by the Communities application)
    collection "My Communities"
      categories (tags document listing tags of the user's communities)
      flags (tags document listing flags used by the Communities application)

The following sections describe the elements included in the outline.


The <service> element

Usage

Namespace

Attributes

Children


The Communities Collections <workspace> element

Usage

Namespace

Attributes

Children


The All Communities <collection> element

Usage

Namespace

Attributes

Children


The My Communities <collection> element

Usage

Namespace

Attributes

Children


Example

<?xml version="1.0" encoding="UTF-8"?> <service xml:lang="en" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom"> <workspace> <atom:title type="text">Communities Collections</atom:title> <collection href="http://lc20.ibm.com/communities/service/atom/communities/all"> <atom:title type="text">All Communities</atom:title> <accept></accept> <categories href="http://lc20.ibm.com/communities/service/atom/communities/all? outputType=categories"> </categories> <categories href="http://lc20.ibm.com/communities/service/atom/communities/all? outputType=flags"> </categories> </collection> <collection href="http://lc20.ibm.com/communities/service/atom/communities/my"> <atom:title type="text">My Communities</atom:title> <accept>entry</accept> <categories href="http://lc20.ibm.com/communities/service/atom/communities/my? outputType=categories"> </categories> <categories href="http://lc20.ibm.com/communities/service/atom/communities/my? outputType=flags"> </categories> </collection> </workspace> <atom:generator uri="http://www.ibm.com/xmlns/prod/sn" version="2.0.1">IBM Connections - Communities</atom:generator> </service>


Parent topic

Retrieve the Communities service document


   

 

});