Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable29] fix(client): Fix Out-of-office endpoint and response data #12411

Draft
wants to merge 1 commit into
base: stable29
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions developer_manual/client_apis/OCS/ocs-out-of-office-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ OCS Out-of-office API

The OCS Out-of-office API allows you to access and modify out-of-office data of users.

The base URL for all calls to the share API is:
*<nextcloud_base_url>/ocs/v2.php/apps/dav/api/v1/outOfOffice*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v2.php/apps/dav/api/v1/outOfOffice``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand All @@ -20,7 +19,7 @@ Fetch ongoing data
Fetch data of the ongoing out-of-office period of a user.

* Method: ``GET``
* Endpoint: ``/{userId}``
* Endpoint: ``/{userId}/now``
* Response:
- Status code:
+ ``200 OK`` Out-of-office data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The OCS Recommendations API allows you to get a list of recommended files and fo

.. note:: This API requires the Recommendations app to be enabled.

The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v2.php/apps/recommendations/api/v1/*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v2.php/apps/recommendations/api/v1/``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/client_apis/OCS/ocs-share-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OCS Share API
The OCS Share API allows you to access the sharing API from outside over
pre-defined OCS calls.

The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v2.php/apps/files_sharing/api/v1*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v2.php/apps/files_sharing/api/v1``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/client_apis/OCS/ocs-sharee-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OCS Sharee API
The OCS Sharee API allows you to access the sharing API from outside over
pre-defined OCS calls.

The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v1.php/apps/files_sharing/api/v1*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v1.php/apps/files_sharing/api/v1``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/client_apis/OCS/ocs-status-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OCS Status API

The OCS Status API allows you to access and modify status API from outside over pre-defined OCS calls.

The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v2.php/apps/user_status/api/v1/user_status*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v2.php/apps/user_status/api/v1/user_status``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/client_apis/OCS/ocs-text2image-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OCS Text-To-Image API

The OCS Text-To-Image API allows you to run image generation tasks implemented by apps using :ref:`the backend Text-To-Image API<text2image>`.

The base URL for all calls to this API is: *<nextcloud_base_url>/ocs/v2.php/text2image/*
The base URL for all calls to this API is: ``<nextcloud_base_url>/ocs/v2.php/text2image/``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OCS TextProcessing API

The OCS Text processing API allows you to run text processing tasks, like prompting large language models implemented by apps using :ref:`the backend Text Processing API<text_processing>`.

The base URL for all calls to this API is: *<nextcloud_base_url>/ocs/v2.php/textprocessing/*
The base URL for all calls to this API is: ``<nextcloud_base_url>/ocs/v2.php/textprocessing/``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
2 changes: 1 addition & 1 deletion developer_manual/client_apis/OCS/ocs-translation-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OCS Translation API

The OCS Translation API allows you to translate strings from a language to another.

The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v2.php/translation/*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v2.php/translation/``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ OCS user preferences API

The OCS user preferences API allows you to set and delete preferences from outside over pre-defined OCS calls.

The base URL for all calls to the share API is: *<nextcloud_base_url>/ocs/v2.php/apps/provisioning_api/api/v1/config/users/*
The base URL for all calls to the share API is: ``<nextcloud_base_url>/ocs/v2.php/apps/provisioning_api/api/v1/config/users/``

All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.

Expand Down