Get Started
Usage API
More information

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",
    "created": "2021-10-22T16:42:23.6307050Z",
    "updated": "2021-10-22T16:42:23.6307050Z",
    "createdBy": {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "Mike Zanyatski",
      "title": "Manager",
      "avatarSmall": "url to small avatar",
      "profileUrl": ""
    },
    "tags": [
      "Tag1",
      "Tag2"
    ],
    "text": "Post text"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>00000000-0000-0000-0000-000000000000</id>
    <title>Example post</title>
    <created>2021-10-22T16:42:23.6307050Z</created>
    <updated>2021-10-22T16:42:23.6307050Z</updated>
    <createdBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </createdBy>
    <tags>Tag1</tags>
    <tags>Tag2</tags>
    <text>Post text</text>
  </response>
</result>