Get Started
API backend
API system
More information

PUT api/2.0/files/fileops/markasread This function requires authentication

Description

Marks the files and folders with the IDs specified in the request as read.

Parameters
Name Description Type Example
FolderIds
sent in body
List of folder IDs System.Collections.Generic.IEnumerable{System.Text.Json.JsonElement}
FileIds
sent in body
List of file IDs System.Collections.Generic.IEnumerable{System.Text.Json.JsonElement}
Example
PUT api/2.0/files/fileops/markasread
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of file operations

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Id": "some text",
      "Progress": 1234,
      "Error": "some text",
      "Processed": "some text",
      "Finished": true,
      "Url": "some text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>some text</Id>
    <Progress>1234</Progress>
    <Error>some text</Error>
    <Processed>some text</Processed>
    <Finished>True</Finished>
    <Url>some text</Url>
  </response>
</result>