POST api/v1.0/Blogs/UpdateBlog?blogKey={blogKey}
Update a Blog's Title, Text, Comment Permissions, View Permissions and Associated Community.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
blogKey |
Key of the Blog to update. |
globally unique identifier |
Required |
Body Parameters
Title: (Optional) string, Body: (Optional) string, CommunityKey: (Optional) To be supplied if the Blog should be associated with a specific Community., ViewPermissions: (Optional) Can be empty to allow anyone to view or one of- 'public', 'authenticated', 'members_only', 'my_contacts'., CommentPermissions: (Optional) Can be empty to allow anyone to comment or one of- 'authenticated', 'members_only', 'my_contacts', 'no_comments'.,
EditBlogRequestName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
Body | string |
None. |
|
CommunityKey | globally unique identifier |
None. |
|
ViewPermissions | string |
None. |
|
CommentPermissions | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "Body": "sample string 2", "CommunityKey": "2217205b-ed5b-4688-a3ad-6b93fc75be7a", "ViewPermissions": "sample string 3", "CommentPermissions": "sample string 4" }
application/xml, text/xml
Sample:
<EditBlogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request"> <Body>sample string 2</Body> <CommentPermissions>sample string 4</CommentPermissions> <CommunityKey>2217205b-ed5b-4688-a3ad-6b93fc75be7a</CommunityKey> <Title>sample string 1</Title> <ViewPermissions>sample string 3</ViewPermissions> </EditBlogRequest>
Response Information
Resource Description
Collection of booleanResponse Formats
application/json, text/json
Sample:
[ true, true ]
application/xml, text/xml
Sample:
<ArrayOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <boolean>true</boolean> <boolean>true</boolean> </ArrayOfboolean>