PUT api/2.0/community/blog/{postid} This function requires authentication

Description

Updates the selected post changing the post title, content or/and tags specified in the request.

Parameters
Name Description Type Example
postid
sent in url
Post ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
title
sent in body
New title string some text
content
sent in body
New post text string some text
tags
sent in body
New list of tags separated with comma string some text
Example
            Sending data in application/json:
            {
                 title:"My post",
                 content:"Post content",
                 tags:"Me,Post,News"
            }
            
            Sending data in application/x-www-form-urlencoded
            title="My post"&content="Post content"&tags="Me,Post,News"
            
Returns

Updated post

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Title": "Example post",
    "Updated": "2020-12-06T07:36:14.7981820Z",
    "CreatedBy": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DisplayName": "Mike Zanyatski",
      "Title": "Manager",
      "AvatarSmall": "url to small avatar",
      "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "Tags": [
      "Tag1",
      "Tag2"
    ],
    "Text": "Post text",
    "Created": "2020-12-06T07:36:14.7981820Z"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Title>Example post</Title>
    <Updated>2020-12-06T07:36:14.7981820Z</Updated>
    <CreatedBy>
      <Id>00000000-0000-0000-0000-000000000000</Id>
      <DisplayName>Mike Zanyatski</DisplayName>
      <Title>Manager</Title>
      <AvatarSmall>url to small avatar</AvatarSmall>
      <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
    </CreatedBy>
    <Tags>Tag1</Tags>
    <Tags>Tag2</Tags>
    <Text>Post text</Text>
    <Created>2020-12-06T07:36:14.7981820Z</Created>
  </response>
</result>