To fetch streams based on streamId
Request URL: | https://connect.zoho.com/pulse/api/streams |
OAuth Scope: | zohopulse.feedList.READ |
Request Method: | GET |
Mandatory Header: | Header name: Authorization Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52 |
Parameters
Name | Description | Required |
scopeID | ID of the network the posts have been made in. You can get this from the network list API. | Required |
streamIds | IDs of posts you want to fetch. Separate multiple IDs using a comma. | Required |
partitionId | ID of the group the posts have been made in. | Optional |
commentLimit | Fetch comments based on a number limit. | Optional |
Sample URL
Copiedhttps://connect.zoho.com/pulse/api/streams?scopeID=929000000015001&partitionId=929000000295001&streamIds=929000000855639,929000000855628&commentLimit=2
Sample Response
Copied{
"streams": {
"streams": [
{
"id": "929000000855639",
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true",
"type": "C"
},
"allowFooter": "true",
"isApproved": "true",
"isSpam": "false",
"canAddTask": "true",
"reason": {
"items": {
"*^$@_USERNAME_*^$@_2060758": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
}
},
"msg": "*^$@_USERNAME_*^$@_2060758 has started a poll."
},
"type": "POLL",
"polls": {
"voteDisplayType": "0",
"allowmultiple": "true",
"canShowResult": "true",
"isVoted": "false",
"options": [
{
"id": "929000000855646",
"option": "Option1",
"canDelete": "true"
},
{
"id": "929000000855648",
"option": "Option2",
"canDelete": "true"
}
]
},
"canAddPollOption": "true",
"content": [
{
"text": "pollQuestion"
}
],
"time": "1521525195934",
"streamModifiedTime": "1521525535794",
"formatedTime": "06:53 PM",
"lastActivityTime": "1521525592240",
"commentCount": "1",
"viewCount": "10",
"canEdit": "true",
"canDelete": "true",
"canLock": "true",
"canEditVote": "true",
"canFollow": "true",
"canMove": "true",
"comments": [
{
"id": "929000000856603",
"time": "1521525535794",
"formatedTime": "06:58 PM",
"isApproved": "true",
"commentType": "COMMENT",
"content": [
{
"text": "Hi team! Can you share the new logo designs that were completed yesterday?"
}
],
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true",
"type": "C"
},
"canEdit": "true",
"canDelete": "true",
"isSpam": "false"
}
],
"url": "https://connect.zoho.com/portal/zillum/stream/929000000855639",
"streamMentionData": [
{
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"type": "C",
"emailId": "patriciab@zillum.com",
"role": "MEMBER"
}
]
},
{
"id": "929000000855628",
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true",
"type": "C"
},
"allowFooter": "true",
"isApproved": "true",
"isSpam": "false",
"canAddTask": "true",
"reason": {
"items": {
"*^$@_USERNAME_*^$@_2060758": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
}
},
"msg": "*^$@_USERNAME_*^$@_2060758 has started a conversation."
},
"type": "STATUS",
"content": [
{
"text": "Content updated"
}
],
"time": "1521525017127",
"streamModifiedTime": "1521525017127",
"formatedTime": "06:50 PM",
"lastActivityTime": "1521525076892",
"viewCount": "1",
"canEdit": "true",
"canDelete": "true",
"canLock": "true",
"canFollow": "true",
"canMove": "true",
"comments": [],
"url": "https://connect.zoho.com/portal/zillum/stream/929000000855628",
"streamMentionData": [
{
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"type": "C",
"emailId": "patriciab@zillum.com",
"role": "MEMBER"
}
]
}
]
}
}
Show full
Show less