POST api/v2.0/Blogs/UpdateBlog?blogKey={blogKey}

Update a Blog's Title, Text, Comment Permissions, View Permissions and Associated Community.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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'.,

EditBlogRequest
NameDescriptionTypeAdditional 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": "73880d59-9e4a-44d9-967b-6f9753678453",
  "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>73880d59-9e4a-44d9-967b-6f9753678453</CommunityKey>
  <Title>sample string 1</Title>
  <ViewPermissions>sample string 3</ViewPermissions>
</EditBlogRequest>

Response Information

Resource Description

Collection of boolean

Response 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>