Get Started
Usage API
More information

GET api/2.0/community/event/@self This function requires authentication

Description

Returns a list of all the events for the current user with the event titles, dates of creation and update, event texts and author.

Parameters

This method doesn't have any parameters.

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

List of events

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": 10,
      "title": "Sample news",
      "created": "2021-10-16T17:55:51.1710561Z",
      "updated": "2021-10-16T17:55:51.1710561Z",
      "type": 1,
      "createdBy": {
        "id": "00000000-0000-0000-0000-000000000000",
        "displayName": "Mike Zanyatski",
        "title": "Manager",
        "avatarSmall": "url to small avatar",
        "profileUrl": ""
      }
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>10</id>
    <title>Sample news</title>
    <created>2021-10-16T17:55:51.1710561Z</created>
    <updated>2021-10-16T17:55:51.1710561Z</updated>
    <type>1</type>
    <createdBy>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </createdBy>
  </response>
</result>