The purpose of this API is to update a forum in Zoho Connect.
Request URL: | https://connect.zoho.com/pulse/api/updateBlog |
OAuth Scope: | zohopulse.blogs.UPDATE |
Request Method: | PUT |
Mandatory Header: | Header name: Authorization Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52 |
Parameters
Name | Description | Required |
scopeID | ID of the network the forum post is in. You can get this using the Network list API. | Required |
title | Forum title | Required |
content | Forum content | Required |
categoryIDs | Category IDs to add the forum to. You can add a forum to a maximum of 10 categories. | Optional |
disableComments | Set this as either true or false. | Optional |
blogId | The ID of the forum post you would like to update. | Required |
Sample URL
Copiedhttps://connect.zoho.com/pulse/api/updateBlog?scopeID=929000000015001&title=blog+title&blogId=929000000915042&content=Updating+Blog+Content&disableComments=true
Sample Response
Copied{
"updateBlog": {
"stream": {
"id": "929000000915042",
"userDetails": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
},
"isApproved": "true",
"isSpam": "false",
"reason": {
"items": {
"*^$@_USERNAME_*^$@_2060758": {
"zuid": "2060758",
"id": "2060758",
"name": "Patricia Boyle",
"canFollow": "true"
}
},
"msg": "*^$@_USERNAME_*^$@_2060758 has started a forum discussion."
},
"type": "BLOG",
"link": {
"title": "blog title",
"linkurl": "https://connect.zoho.com/portal/zillum/home/!BLOGS/Post/blog-title",
"desc": "Updating Blog Content"
},
"categories": [],
"content": "",
"time": "1526649123539",
"streamModifiedTime": "1526649123539",
"formatedTime": "06:42 PM",
"lastActivityTime": "1526649217675",
"viewCount": "1",
"canHide": "true",
"blogUrl": "blog-title",
"title": "blog title",
"canDelete": "true",
"canLock": "true",
"partitionUrl": "default",
"canFollow": "true",
"openInWeb": "true",
"itemId": "929000000915042",
"comments": [],
"url": "https://connect.zoho.com/portal/zillum/home/!BLOGS/Post/blog-title"
},
"id": "929000000915042",
"url": "blog-title",
"savedTime": "06:43 PM",
"result": "success"
}
}
Show full
Show less