Skip to main content

Get collaborators' info for an opened document

Заметка

[Since 2020.01]

Get collaborators' info for an opened document. Only for shared users. Will return set of language, e-mail and avatar for all collaborators.

POST /api/v1/documents/{docId}/collaborators
  1. Path parameters
ParameterDescription
docIdThe ID of the file.
  1. Example request
curl 'http://localhost:9094/api/v1/documents/O3221hl9JyMhcYfuOwS/collaborators' -H 'X-co-auth-token: 8705adfeb88111b472e089a6af6aa929'
  1. Example response
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"avatar": "O3221hjpxDLGB5zYain",
"email": "test@test.ru",
"login": "login@test.ru",
"lang": "en-US"
}
]