TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

PUT api/2.0/files/docservice This function requires authentication

Description

Checks the document service location.

Parameters
Name Description Type Example
DocServiceUrl
sent in body
The Document Server address string some text
DocServiceUrlInternal
sent in body
The Document Server address in the local private network string some text
DocServiceUrlPortal
sent in body
The Community Server address string some text
Example
PUT api/2.0/files/docservice
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "DocServiceUrl": "some text",
  "DocServiceUrlInternal": "some text",
  "DocServiceUrlPortal": "some text"
}
Returns

Document service information: the Document Server address, the Document Server address in the local private network, the Community Server address