PUT api/2.0/project/{projectid}/follow This function requires authentication

Description

Subscribes to or unsubscribes from the notifications about the actions performed in the project with the ID specified in the request.

Parameters
Name Description Type Example
projectId
sent in url
Project ID number 1234
Example
PUT api/2.0/project/1234/follow
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Project

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": 10,
    "Title": "Sample Title",
    "Description": "Sample description",
    "Status": 0,
    "Responsible": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "DisplayName": "Mike Zanyatski",
      "Title": "Manager",
      "AvatarSmall": "url to small avatar",
      "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "ResponsibleId": "00000000-0000-0000-0000-000000000000",
    "CanEdit": false,
    "IsPrivate": false
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>10</Id>
    <Title>Sample Title</Title>
    <Description>Sample description</Description>
    <Status>0</Status>
    <Responsible>
      <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>
    </Responsible>
    <ResponsibleId>00000000-0000-0000-0000-000000000000</ResponsibleId>
    <CanEdit>False</CanEdit>
    <IsPrivate>False</IsPrivate>
  </response>
</result>