PUT api/2.0/project/{projectid}/follow
Subscribes to or unsubscribes from the notifications about the actions performed in the project with the ID specified in the request.
Name |
Description |
Type |
Example |
projectId
sent in url
|
Project ID
|
number
|
1234
|
PUT api/2.0/project/1234/follow
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
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": ""
},
"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></profileUrl>
</responsible>
<canEdit>false</canEdit>
<isPrivate>false</isPrivate>
</response>
</result>