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 one of - 'members_only', '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": "d6c7bf65-9f25-4d80-b098-18d313dc2359",
  "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>d6c7bf65-9f25-4d80-b098-18d313dc2359</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>