Get Started
Portal api methods
Help

GET api/2.0/community/blog This function requires authentication

Description

Returns the list of all posts in blogs on the portal with the post title, date of creation and update, post text and author ID and display name

Parameters

This method doesn't have any parameters

Example
GET api/2.0/community/blog
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of all posts

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "title": "Example post",
      "created": "2019-12-15T06:37:50.7742190Z",
      "updated": "2019-12-15T06:37:50.7742190Z",
      "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>2019-12-15T06:37:50.7742190Z</created>
    <updated>2019-12-15T06:37:50.7742190Z</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>