Retrieving the Activities service document
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 7, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Retrieve the Activities service document through the Atom APIs.

The first step you must perform if you plan to update resources made available through the Atom APIs is to retrieve the service document for the application. Alternatively, you can use the Overview feed, which is the feed that populates the My Activities view, to make updates.

Method URI Description
GET /activities/service/atom2/service Accesses a user's service document to retrieve links to a user's Activities views which are listed as collections.
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.
401
Unauthorized. Returned when the authorized user is not used to make a request.
Examples
To retrieve the service document for the Activities application
> GET /activities/service/atom2/service HTTP/1.1

	> Authorization: Basic am9lX2RvZUBhY21lLmNvbTpwYXNzdzByZA==

	> Host: enterprise.example.com:9444

	> Accept: */*


Response returned by the server
<?xml version="1.0" encoding="utf-8" ?>

	<service

	xmlns="http://www.w3.org/2007/app"

	xmlns:atom="http://www.w3.org/2005/Atom">

	<atom:generator

	uri="http://www.ibm.com/xmlns/prod/sn"

	version="1.0.2">IBM Connections - Activities

	</atom:generator>

	<workspace>

	<atom:title>Activity Dashboard for Amy jones11</atom:title>

	<collection href="https://enterprise.example.com:9444/activities/service/atom2/

	activities">

	<atom:title>Overview</atom:title>

	<accept>entry</accept>

	<categories

	href="https://enterprise.example.com:9444/activities/service/atom2/

	categories"/>

	<categories

	href="https://enterprise.example.com:9444/activities/service/atom2/tags"/>

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	activities/overview</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/completed">

	<atom:title>Completed</atom:title>

	<accept />

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	completed</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/tunedout">

	<atom:title>Tuned out</atom:title>

	<accept />

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	tunedout</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/trash">

	<atom:title>Trash</atom:title>

	<accept />

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	trash</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/public">

	<atom:title>Public</atom:title>

	<accept />

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	public</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/everything">

	<atom:title>Everything</atom:title>

	<accept />

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	everything</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/todos">

	<atom:title>To Do List</atom:title>

	<accept />

	<atom:id>https://enterprise.example.com:9444/activities/service/atom2/

	todos</atom:id>

	</collection>

	</workspace>

	<workspace>

	<atom:title>Activities for Amy jones11</atom:title>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/

	activity?activityUuid=342G7F000001B1A6C9CB0FB4FB4F460000D7">

	<atom:title>Testing Activities Member management with Janet</atom:title>

	<accept>entry</accept>

	<categories

	href="https://enterprise.example.com:9444/activities/service/atom2/

	categories?activityUuid=342G7F000001B1A6C9CB0FB4FB4F460000D7" />

	<categories

	href="https://enterprise.example.com:9444/activities/service/atom2/

	tags?activityUuid=342G7F000001B1A6C9CB0FB4FB4F460000D7" />

	<atom:link

	rel="replies"

	href="https://enterprise.example.com:9444/activities/service/atom2/

	threaded?activityUuid=342G7F000001B1A6C9CB0FB4FB4F460000D7" />

	<atom:id>urn:lsid:ibm.com:oa:342G7F000001B1A6C9CB0FB4FB4F460000D7</atom:id>

	</collection>

	<collection

	href="https://enterprise.example.com:9444/activities/service/atom2/

	activity?activityUuid=993G7F00000163CF90A98D71C92F700002F0">

	<atom:title>Activity Name:1105140702</atom:title>

	<accept>entry</accept>

	<categories

	href="https://enterprise.example.com:9444/activities/service/atom2/

	categories?activityUuid=993G7F00000163CF90A98D71C92F700002F0" />

	<categories href="https://enterprise.example.com:9444/activities/service/

	atom2/tags?activityUuid=993G7F00000163CF90A98D71C92F700002F0" />

	<atom:link

	rel="replies"

	href="https://enterprise.example.com:9444/activities/service/atom2/

	threaded?activityUuid=993G7F00000163CF90A98D71C92F700002F0" />

	<atom:id>urn:lsid:ibm.com:oa:993G7F00000163CF90A98D71C92F700002F0</atom:id>

	</collection>

	</workspace>

	</service>