GET api/2.0/community/blog/user/{username} This function requires authentication

Description

Returns a list of blog posts for the specified user with the post titles, dates of creation and update and post texts.

Parameters
Name Description Type Example
username
sent in url
User name
You can retrieve the user name through the 'people' API
string some text
Example
GET api/2.0/community/blog/user/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of user posts

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Title": "Example post",
    "Created": "2020-12-03T21:36:12.0774137Z",
    "Updated": "2020-12-03T21:36:12.0774137Z",
    "CreatedBy": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DisplayName": "Mike Zanyatski",
      "Title": "Manager",
      "AvatarSmall": "url to small avatar",
      "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "Preview": "Preview post",
    "Tags": [
      "Tag1",
      "Tag1"
    ],
    "BlogTitle": "Blog Title"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <Title>Example post</Title>
    <Created>2020-12-03T21:36:12.0774137Z</Created>
    <Updated>2020-12-03T21:36:12.0774137Z</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>
    <Preview>Preview post</Preview>
    <Tags>Tag1</Tags>
    <Tags>Tag1</Tags>
    <BlogTitle>Blog Title</BlogTitle>
  </response>
</result>