List User Streams
Returns a list of all the streams of which the requesting user is a member, sorted by creation date (ascending - oldest to newest).
Retrieve a list of all streams of which the requesting user is a member,
sorted by creation date (ascending).
No. of results to skip.
Max no. of results to return. If no value is provided, 50 is the default.
Session authentication token.
Stream filtering parameters.
Whether to include inactive streams in the list of results.
false
OK
Stream not found.
Client error, see response body for further details.
Unauthorized: Invalid session token.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
POST /pod/v1/streams/list HTTP/1.1
Host: yourpodurl.symphony.com
sessionToken: text
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"streamTypes": [
{
"type": "IM"
},
{
"type": "ROOM"
}
],
"includeInactiveStreams": "false"
}
[
{
"id": "text",
"crossPod": true,
"active": true,
"streamType": {
"type": "ROOM"
},
"streamAttributes": {
"members": [
7215545058313,
7215545078461
]
},
"roomAttributes": {
"name": "text"
}
}
]
Request Example
curl -X POST \
https://acme.symphony.com/pod/v1/streams/list \
-H "sessionToken: SESSION_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"streamTypes": [
{"type": "IM"},
{"type": "ROOM"},
{"type": "POST"}
],
"includeInactiveStreams": true
}'
streamTypes
streamTypes
: A list of stream types (defined as an object) that will be returned. Options are IM (1-1 instant messages), ROOM (rooms), POST (the user's wall).
{
"streamTypes": [
{"type": "IM"},
{"type": "ROOM"},
{"type": "POST"}
],
"includeInactiveStreams": true
}
📘 Overview of streamsA stream is like a container for messages exchanged between two or more users via a given instant message (IM) or chat room. For more information, refer to Overview of streams.
Last updated
Was this helpful?