Following entry content
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

This document describes the content format of the Following API

All elements are in the http://www.w3.org/2005/Atom namespace.

Table 1. Following entry elements

Element
How treated on input
Description
<id>
Ignored
Unique identifier of a follow entry formatted following the URN specification.
<author>

			<name>

			<email>

			<snx:userid>

			<snx:userState>

			</author>
Ignored
The person who follows the resource.
<category scheme="http://www.w3.org/2007/app" term="follow-resource"/>
Ignored
Category identifier for the entry.
<category scheme="http://www.ibm.com/xmlns/prod/sn/source" term=<source>/>
Required
Identifies the source.
<category scheme="http://www.ibm.com/xmlns/prod/sn/resource-type" term="<type>"/>
Required
Identifies the resource type.
<category scheme="http://www.ibm.com/xmlns/prod/sn/resource-id" term="<ID>"/>
Required
Identifies the resource ID.
<link rel="edit" type="application/atom+xml" href="edit_url"/>
Ignored
Specifies a URI from which you can retrieve the full content of the resource being followed, as opposed to a summary. Use this URI to stop following a resource.
<link rel="related" type="application/atom+xml" href="alternate_utl"/>
Ignored
Specifies a URI of the Atom entry representing the followed resource.
<link rel="alternate" type="text/html" href="alternate_utl"/>
Ignored
Link to the HTML version of the followed resource. Specifies a URI from which you can retrieve the full content of the resource being followed.

 

Example


<entry>

<id>urn:lsid:ibm.com:follow:resource-6e4f97f4-41b5-4eb8-a32d-12d08b2e6493</id>

<category

term="resource-follow"

scheme="http://www.ibm.com/xmlns/prod/sn/type">

</category>

<category

term="wiki"

scheme="http://www.ibm.com/xmlns/prod/sn/source">

</category>

<category

term="eiki"

scheme="http://www.ibm.com/xmlns/prod/sn/resource-type">

</category>

<category

term="6e4f97f4-41b5-4eb8-a32d-12d08b2e6493"

scheme="http://www.ibm.com/xmlns/prod/sn/resource-id">

</category>

<title type="text">some title</title>

<link

href="https://example.com:9443/wikis/follow/atom/resources/6e4f97f4-41b5-4eb8-a32d-12d08b2e6493?

source=wikis&amp;type=wiki&amp;resource=6e4f97f4-41b5-4eb8-a32d-12d08b2e6493"

rel="edit"

type="application/atom+xml">

</link>

<link

href="https://example.com:9443/wikis/form/api/wiki/sdfsdfsdsdfsdf/entry"

rel="related"

type="application/atom+xml">

</link>

<link

href="https://example.com:9443/wikis/home/wiki/sdfsdfsdsdfsdf"

rel="alternate"

type="text/html">

</link>

</entry> 



Resources


Start following a resource