Get Started
Usage API
More information

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/some+text
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": "2021-10-27T06:29:16.0501108Z",
      "updated": "2021-10-27T06:29:16.0501108Z",
      "createdBy": {
        "id": "00000000-0000-0000-0000-000000000000",
        "displayName": "Mike Zanyatski",
        "title": "Manager",
        "avatarSmall": "url to small avatar",
        "profileUrl": ""
      },
      "preview": "Preview post",
      "tags": [
        "Tag1",
        "Tag2"
      ],
      "blogTitle": null
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>00000000-0000-0000-0000-000000000000</id>
    <title>Example post</title>
    <created>2021-10-27T06:29:16.0501108Z</created>
    <updated>2021-10-27T06:29:16.0501108Z</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>
    <preview>Preview post</preview>
    <tags>Tag1</tags>
    <tags>Tag2</tags>
    <blogTitle />
  </response>
</result>