From 0dd9cbca36b3b7dc26e9807132508ea8c0eeb2ab Mon Sep 17 00:00:00 2001 From: Sergey Linnik Date: Tue, 3 Jun 2025 16:40:06 +0300 Subject: [PATCH] docs: fix api link --- Readme.md | 2 +- web/documentserver-example/csharp-mvc/README.md | 4 ++-- .../csharp-mvc/Views/Home/Forgotten.aspx | 2 +- web/documentserver-example/csharp-mvc/Views/Home/Index.aspx | 2 +- web/documentserver-example/csharp/Default.aspx | 2 +- web/documentserver-example/csharp/Forgotten.aspx | 2 +- web/documentserver-example/csharp/README.md | 4 ++-- web/documentserver-example/go/README.md | 4 ++-- web/documentserver-example/go/templates/forgotten.html | 2 +- web/documentserver-example/go/templates/index.html | 2 +- web/documentserver-example/java-spring/README.md | 4 ++-- .../java-spring/src/main/resources/templates/forgotten.html | 2 +- .../java-spring/src/main/resources/templates/index.html | 2 +- web/documentserver-example/java/README.md | 4 ++-- web/documentserver-example/java/src/main/webapp/forgotten.jsp | 2 +- web/documentserver-example/java/src/main/webapp/index.jsp | 2 +- web/documentserver-example/nodejs/README.md | 4 ++-- web/documentserver-example/nodejs/views/forgotten.ejs | 2 +- web/documentserver-example/nodejs/views/index.ejs | 2 +- web/documentserver-example/nodejs/views/wopiIndex.ejs | 2 +- .../php-laravel/resources/views/forgotten.blade.php | 2 +- .../php-laravel/resources/views/index.blade.php | 2 +- web/documentserver-example/php/templates/forgotten.tpl | 2 +- web/documentserver-example/php/templates/index.tpl | 2 +- web/documentserver-example/python/templates/forgotten.html | 2 +- web/documentserver-example/python/templates/index.html | 2 +- .../ruby/app/views/home/forgotten.html.erb | 2 +- web/documentserver-example/ruby/app/views/home/index.html.erb | 2 +- 28 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Readme.md b/Readme.md index eaf8e77f..e0904cdf 100644 --- a/Readme.md +++ b/Readme.md @@ -19,7 +19,7 @@ You should change `http://documentserver` to your server address in these files: * [Python](https://github.com/ONLYOFFICE/document-server-integration/tree/master/web/documentserver-example/python) - `web/documentserver-example/python/src/configuration/configuration.py` * [Ruby](https://github.com/ONLYOFFICE/document-server-integration/tree/master/web/documentserver-example/ruby) - `web/documentserver-example/ruby/app/configuration/configuration.rb` -More information on how to use these examples can be found here: [http://api.onlyoffice.com/editors/demopreview](http://api.onlyoffice.com/editors/demopreview "http://api.onlyoffice.com/editors/demopreview") +More information on how to use these examples can be found here: [https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) ## API methods for test examples diff --git a/web/documentserver-example/csharp-mvc/README.md b/web/documentserver-example/csharp-mvc/README.md index 85d297b4..4d6e6fac 100644 --- a/web/documentserver-example/csharp-mvc/README.md +++ b/web/documentserver-example/csharp-mvc/README.md @@ -12,7 +12,7 @@ See the detailed guide to learn how to install Document Server [for Windows](htt ## Step 2. Download the .Net (C# MVC) code for the editors integration -Download the [.Net (C# MVC) example](https://api.onlyoffice.com/editors/demopreview) from our site. +Download the [.Net (C# MVC) example](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) from our site. To connect the editors to your website, specify the path to the editors installation and the path to the storage folder in the *web.appsettings.config* file: ``` @@ -21,7 +21,7 @@ To connect the editors to your website, specify the path to the editors installa ``` where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed and the **storage-path** is the path where files will be created and stored. You can set an absolute path. -If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/editors/advanced) in the *DocEditor.aspx* file. +If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/docs/docs-api/usage-api/advanced-parameters/) in the *DocEditor.aspx* file. ## Step 3. Install the prerequisites Сheck if your system meets the system requirements: diff --git a/web/documentserver-example/csharp-mvc/Views/Home/Forgotten.aspx b/web/documentserver-example/csharp-mvc/Views/Home/Forgotten.aspx index 0c015d68..025da20d 100755 --- a/web/documentserver-example/csharp-mvc/Views/Home/Forgotten.aspx +++ b/web/documentserver-example/csharp-mvc/Views/Home/Forgotten.aspx @@ -125,7 +125,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/csharp-mvc/Views/Home/Index.aspx b/web/documentserver-example/csharp-mvc/Views/Home/Index.aspx index 0a4ab500..cf1dcfb5 100644 --- a/web/documentserver-example/csharp-mvc/Views/Home/Index.aspx +++ b/web/documentserver-example/csharp-mvc/Views/Home/Index.aspx @@ -418,7 +418,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/csharp/Default.aspx b/web/documentserver-example/csharp/Default.aspx index 7b4d8119..376c8e5f 100644 --- a/web/documentserver-example/csharp/Default.aspx +++ b/web/documentserver-example/csharp/Default.aspx @@ -420,7 +420,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/csharp/Forgotten.aspx b/web/documentserver-example/csharp/Forgotten.aspx index 087e078d..c01a806e 100755 --- a/web/documentserver-example/csharp/Forgotten.aspx +++ b/web/documentserver-example/csharp/Forgotten.aspx @@ -126,7 +126,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/csharp/README.md b/web/documentserver-example/csharp/README.md index b689c3d3..db7617b1 100644 --- a/web/documentserver-example/csharp/README.md +++ b/web/documentserver-example/csharp/README.md @@ -12,7 +12,7 @@ See the detailed guide to learn how to install Document Server [for Windows](htt ## Step 2. Download the .Net (C#) code for the editors integration -Download the [.Net (C#) example](https://api.onlyoffice.com/editors/demopreview) from our site. +Download the [.Net (C#) example](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) from our site. To connect the editors to your website, specify the path to the editors installation and the path to the storage folder in the *settings.config* file: ``` @@ -21,7 +21,7 @@ To connect the editors to your website, specify the path to the editors installa ``` where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed and the **storage-path** is the path where files will be created and stored. You can set an absolute path. -If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/editors/advanced) in the *DocEditor.aspx* file. +If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/docs/docs-api/usage-api/advanced-parameters/) in the *DocEditor.aspx* file. ## Step 3. Install the prerequisites diff --git a/web/documentserver-example/go/README.md b/web/documentserver-example/go/README.md index 17c24b8b..d46a7343 100644 --- a/web/documentserver-example/go/README.md +++ b/web/documentserver-example/go/README.md @@ -13,7 +13,7 @@ See the detailed guide to learn how to install Document Server [for Windows](htt ### Step 2. Download the Go code for the editors integration -Download the [Go example](https://api.onlyoffice.com/editors/demopreview) from our site. +Download the [Go example](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) from our site. To connect the editors to your website, specify the path to the editors installation, server protocol, address and port in the *configuration.env* file: @@ -31,7 +31,7 @@ JWT_HEADER=Authorization where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed. **address** is the address of the server, **port** is the server port. -If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/editors/advanced) it the *templates/editor.html* file. +If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/docs/docs-api/usage-api/advanced-parameters/) it the *templates/editor.html* file. ### Step 3. Install the prerequisites To run the Go example code, install the Go compiler: diff --git a/web/documentserver-example/go/templates/forgotten.html b/web/documentserver-example/go/templates/forgotten.html index 0071395a..fa4ede65 100644 --- a/web/documentserver-example/go/templates/forgotten.html +++ b/web/documentserver-example/go/templates/forgotten.html @@ -118,7 +118,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/go/templates/index.html b/web/documentserver-example/go/templates/index.html index 67c6d698..da9577e4 100644 --- a/web/documentserver-example/go/templates/index.html +++ b/web/documentserver-example/go/templates/index.html @@ -396,7 +396,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/java-spring/README.md b/web/documentserver-example/java-spring/README.md index 16f2745e..f5dd6070 100755 --- a/web/documentserver-example/java-spring/README.md +++ b/web/documentserver-example/java-spring/README.md @@ -18,7 +18,7 @@ See the detailed guide to learn how to install Document Server [for Windows](htt ### Step 2. Download the Java code for the editors integration -Download the [Java-Spring example](https://api.onlyoffice.com/editors/demopreview) from our site. +Download the [Java-Spring example](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) from our site. To connect the editors to your website, specify the path to the editors installation, server port and the path to the storage folder in the *src/main/resources/application.properties* file: @@ -30,7 +30,7 @@ To connect the editors to your website, specify the path to the editors installa where the **documentserver** is the name of the server with the ONLYOFFICE Docs installed, **port** is any available port and **files.storage** is the path where files will be created and stored (in the project folder by default). You can set an absolute path. For example, *D:\\\\folder*. Please note that on Windows OS the double backslash must be used as a separator. -If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/editors/advanced) it the *\src\main\resources\editor.html* file. +If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/docs/docs-api/usage-api/advanced-parameters/) it the *\src\main\resources\editor.html* file. ### Step 3. Install the prerequisites To run the Java example code, install the Java version 11 appropriate for your OS and framework **Apache Maven**: diff --git a/web/documentserver-example/java-spring/src/main/resources/templates/forgotten.html b/web/documentserver-example/java-spring/src/main/resources/templates/forgotten.html index e69b3dbc..a53df47f 100755 --- a/web/documentserver-example/java-spring/src/main/resources/templates/forgotten.html +++ b/web/documentserver-example/java-spring/src/main/resources/templates/forgotten.html @@ -114,7 +114,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/java-spring/src/main/resources/templates/index.html b/web/documentserver-example/java-spring/src/main/resources/templates/index.html index 45d52994..64c49153 100755 --- a/web/documentserver-example/java-spring/src/main/resources/templates/index.html +++ b/web/documentserver-example/java-spring/src/main/resources/templates/index.html @@ -383,7 +383,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/java/README.md b/web/documentserver-example/java/README.md index a8f7668e..277544da 100644 --- a/web/documentserver-example/java/README.md +++ b/web/documentserver-example/java/README.md @@ -14,7 +14,7 @@ See the detailed guide to learn how to [install Document Server for Windows](htt ### Step 2. Download the Java code for the editors integration -Download the [Java example](https://api.onlyoffice.com/editors/demopreview) from our site. +Download the [Java example](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) from our site. To connect the editors to your website, specify the path to the editors installation and the path to the storage folder in the *src/main/resources/settings.properties* file: @@ -25,7 +25,7 @@ files.docservice.url.site=https://documentserver/ where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed and the **storage-folder** is the path where files will be created and stored. You can set an absolute path. For example, *D:\\\\folder*. Please note that on Windows OS the double backslash must be used as a separator. -If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/editors/advanced) in the *\src\main\webapp\editor.jsp* file. +If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/docs/docs-api/usage-api/advanced-parameters/) in the *\src\main\webapp\editor.jsp* file. ### Step 3. Install the prerequisites diff --git a/web/documentserver-example/java/src/main/webapp/forgotten.jsp b/web/documentserver-example/java/src/main/webapp/forgotten.jsp index e2ee3605..6a0e5d4e 100755 --- a/web/documentserver-example/java/src/main/webapp/forgotten.jsp +++ b/web/documentserver-example/java/src/main/webapp/forgotten.jsp @@ -122,7 +122,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/java/src/main/webapp/index.jsp b/web/documentserver-example/java/src/main/webapp/index.jsp index 9a19bda2..6145fd11 100755 --- a/web/documentserver-example/java/src/main/webapp/index.jsp +++ b/web/documentserver-example/java/src/main/webapp/index.jsp @@ -422,7 +422,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/nodejs/README.md b/web/documentserver-example/nodejs/README.md index 897ef55e..a7693435 100644 --- a/web/documentserver-example/nodejs/README.md +++ b/web/documentserver-example/nodejs/README.md @@ -14,7 +14,7 @@ See the detailed guide to learn how to [install Document Server for Windows](htt ### Step 2. Download the Node.js code for the editors integration -Download the [Node.js example](https://api.onlyoffice.com/editors/demopreview) from our site. +Download the [Node.js example](https://api.onlyoffice.com/docs/docs-api/samples/language-specific-examples/) from our site. To connect the editors to your website, specify the path to the editors installation and the path to the storage folder in the *config/default.json* file: @@ -26,7 +26,7 @@ To connect the editors to your website, specify the path to the editors installa where the **documentserver** is the name of the server with the ONLYOFFICE Document Server installed, the **storageFolder** and **storagePath** are the paths where files will be created and stored. You can set an absolute path. For example, *D:\\\\folder*. Please note that on Windows OS the double backslash must be used as a separator. -If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/editors/advanced) in the *\views\editor.ejs* file. +If you want to experiment with the editor configuration, modify the [parameters](https://api.onlyoffice.com/docs/docs-api/usage-api/advanced-parameters/) in the *\views\editor.ejs* file. ### Step 3. Install Node.js environment diff --git a/web/documentserver-example/nodejs/views/forgotten.ejs b/web/documentserver-example/nodejs/views/forgotten.ejs index f54bd9dd..a0f7934e 100644 --- a/web/documentserver-example/nodejs/views/forgotten.ejs +++ b/web/documentserver-example/nodejs/views/forgotten.ejs @@ -115,7 +115,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/nodejs/views/index.ejs b/web/documentserver-example/nodejs/views/index.ejs index 6b36f08d..b20e4f4b 100755 --- a/web/documentserver-example/nodejs/views/index.ejs +++ b/web/documentserver-example/nodejs/views/index.ejs @@ -374,7 +374,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/nodejs/views/wopiIndex.ejs b/web/documentserver-example/nodejs/views/wopiIndex.ejs index 2eebb15e..3e80016d 100755 --- a/web/documentserver-example/nodejs/views/wopiIndex.ejs +++ b/web/documentserver-example/nodejs/views/wopiIndex.ejs @@ -260,7 +260,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/php-laravel/resources/views/forgotten.blade.php b/web/documentserver-example/php-laravel/resources/views/forgotten.blade.php index ae9ee294..b9a3773b 100644 --- a/web/documentserver-example/php-laravel/resources/views/forgotten.blade.php +++ b/web/documentserver-example/php-laravel/resources/views/forgotten.blade.php @@ -115,7 +115,7 @@ - + API Documentation diff --git a/web/documentserver-example/php-laravel/resources/views/index.blade.php b/web/documentserver-example/php-laravel/resources/views/index.blade.php index 86c57733..bb6813c6 100644 --- a/web/documentserver-example/php-laravel/resources/views/index.blade.php +++ b/web/documentserver-example/php-laravel/resources/views/index.blade.php @@ -403,7 +403,7 @@ - + API Documentation diff --git a/web/documentserver-example/php/templates/forgotten.tpl b/web/documentserver-example/php/templates/forgotten.tpl index 53154f3f..0d6ce742 100644 --- a/web/documentserver-example/php/templates/forgotten.tpl +++ b/web/documentserver-example/php/templates/forgotten.tpl @@ -88,7 +88,7 @@ - + API Documentation diff --git a/web/documentserver-example/php/templates/index.tpl b/web/documentserver-example/php/templates/index.tpl index ca1d0dba..95b30180 100644 --- a/web/documentserver-example/php/templates/index.tpl +++ b/web/documentserver-example/php/templates/index.tpl @@ -245,7 +245,7 @@ - + API Documentation diff --git a/web/documentserver-example/python/templates/forgotten.html b/web/documentserver-example/python/templates/forgotten.html index 52c385bd..5d959ac2 100644 --- a/web/documentserver-example/python/templates/forgotten.html +++ b/web/documentserver-example/python/templates/forgotten.html @@ -120,7 +120,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/python/templates/index.html b/web/documentserver-example/python/templates/index.html index 43fe9384..d0387bf9 100644 --- a/web/documentserver-example/python/templates/index.html +++ b/web/documentserver-example/python/templates/index.html @@ -396,7 +396,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/ruby/app/views/home/forgotten.html.erb b/web/documentserver-example/ruby/app/views/home/forgotten.html.erb index 699c872e..ff88ae50 100755 --- a/web/documentserver-example/ruby/app/views/home/forgotten.html.erb +++ b/web/documentserver-example/ruby/app/views/home/forgotten.html.erb @@ -99,7 +99,7 @@ - API Documentation + API Documentation Submit your request diff --git a/web/documentserver-example/ruby/app/views/home/index.html.erb b/web/documentserver-example/ruby/app/views/home/index.html.erb index 2165c511..84e3e9d6 100755 --- a/web/documentserver-example/ruby/app/views/home/index.html.erb +++ b/web/documentserver-example/ruby/app/views/home/index.html.erb @@ -390,7 +390,7 @@ - API Documentation + API Documentation Submit your request