Newer Version Available

This content describes an older version of this product. View Latest

Chatter Feed Streams

Get a list of Chatter feed streams for the context user. Create a Chatter feed stream.
Resource
1/chatter/streams
1/connect/communities/communityId/chatter/streams
Available version
39.0
Requires Chatter
Yes
HTTP methods
GET, POST
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
page Integer Specifies the number of the page you want returned. Starts at 0. If you pass in null or 0, the first page is returned. Optional 39.0
pageSize Integer Specifies the number of items per page. Valid values are from 5 to 100. The default size is 25. Optional 39.0
Response body for GET
Chatter Stream Collection
Request body for POST
Root XML tag
<stream>
JSON example
1{
2   "description" : "Feeds from my management hierarchy.",
3   "name" : "Managers Stream",
4   "subscriptionsToAdd" : {
5      "subscriptions" : [
6         {"entityId" : "00590000000Dk5F"},
7         {"entityId" : "00590000000Fk4M"},
8         {"entityId" : "00590000000Sy7N"},
9         {"entityId" : "00590000000Dk4H"},
10         {"entityId" : "00590000000Uk7L"}
11         ]
12      }
13}
Properties
Name Type Description Required or Optional Available Version
description String Description of the stream, up to 1,000 characters. Optional 39.0
name String Name of the stream, up to 120 characters. Required when creating a stream (POST)

Optional when updating a stream (PATCH)

39.0
subscriptions​ToAdd Stream Subscription Input[] List of up to 25 entities whose feeds are included in the stream.

Adding an entity that is already added results in no operation. Including the same entity in subscriptionsToAdd and subscriptionsToRemove results in no operation.

Optional 39.0
subscriptions​ToRemove Stream Subscription Input[] List of entities whose feeds are removed from the stream.

Removing an entity that is already removed results in no operation. Including the same entity in subscriptionsToAdd and subscriptionsToRemove results in no operation.

Optional when updating a stream (PATCH)

Not supported when creating a stream (POST)

39.0
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
description String Description of the stream, up to 1,000 characters. Optional 39.0
name String Name of the stream, up to 120 characters. Required 39.0
Response body for POST
Chatter Stream