Follow service document content 

When updating followed resources with the Following APIs, first obtain the Following service document for the application you are working with. The service document provides access to all of the followed resources that you can update.

Each application provided it's own Following service document, at these addresses:

Activities

Blogs

Communities

Files

Forums

News repository

Profiles

Wikis

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 "Follow service for {user name}"
      collection "Followed {item type} for {user name}"

The following sections describe the elements included in the outline.


The <service> element

Usage

Namespace

Attributes

Children


The Follow service <workspace> element

Usage

Namespace

Attributes

Children


The Followed items <collection> element

Usage

Namespace

Attributes

Children

Example:

<service 
 xmlns="http://www.w3.org/2007/app" 
 xmlns:atom="http://www.w3.org/2005/Atom">
  <atom:generator 
   xmlns:atom="http://www.w3.org/2005/Atom" 
   version="3.0" 
   uri="http://www.ibm.com/xmlns/prod/sn">
    IBM Connections - Follow service
  </atom:generator>
   <workspace>
    <atom:title xmlns:atom="http://www.w3.org/2005/Atom" type="text">
     Follow service for null
    </atom:title>
      <collection 
     href="https://enterprise.example.com/profiles/follow/atom/resources?
      source=profiles&amp;type=profile">
      <atom:title xmlns:atom="http://www.w3.org/2005/Atom" type="text">
       Followed profiles for null
      </atom:title>
      <accept>application/atom+xml; type=entry</accept>
      <categories xmlns:atom="http://www.w3.org/2005/Atom">
        <atom:category 
         xmlns:atom="http://www.w3.org/2005/Atom" 
         term="resource-follow" 
         scheme="http://www.ibm.com/xmlns/prod/sn/type">
        </atom:category>
        <atom:category 
         xmlns:atom="http://www.w3.org/2005/Atom" 
         term="profiles" 
         scheme="http://www.ibm.com/xmlns/prod/sn/source">
        </atom:category>
        <atom:category 
         xmlns:atom="http://www.w3.org/2005/Atom" 
         term="profile" 
         scheme="http://www.ibm.com/xmlns/prod/sn/resource-type">
        </atom:category>
      </categories>
      <atom:category 
       xmlns:atom="http://www.w3.org/2005/Atom" 
       scheme="http://www.ibm.com/xmlns/prod/sn/collection" 
       term="followed-profiles-profile">
      </atom:category>
    </collection>
  </workspace>
</service>


Parent topic

Retrieve the Following APIs service document


   

 

});

+

Search Tips   |   Advanced Search