From 7e7c9d944b33096f741b617001d971dd4cf5ba4c Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Wed, 1 Nov 2023 17:55:13 +0200 Subject: [PATCH 1/2] notes about possibility to use other OCS APIs with AppAPI Signed-off-by: Andrey Borysenko --- docs/tech_details/api/index.rst | 1 + docs/tech_details/api/other_ocs.rst | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 docs/tech_details/api/other_ocs.rst diff --git a/docs/tech_details/api/index.rst b/docs/tech_details/api/index.rst index 05e1aa2d..8286b592 100644 --- a/docs/tech_details/api/index.rst +++ b/docs/tech_details/api/index.rst @@ -17,3 +17,4 @@ AppAPI Nextcloud APIs fileactionsmenu notifications talkbots + other_ocs diff --git a/docs/tech_details/api/other_ocs.rst b/docs/tech_details/api/other_ocs.rst new file mode 100644 index 00000000..ae353f84 --- /dev/null +++ b/docs/tech_details/api/other_ocs.rst @@ -0,0 +1,13 @@ +Other OCS APIs +============== + +With AppAPI authentication it is possible for ExApps to use any other OCS APIs, that doesn't require OCP implementation: + +1. Calendar +2. Contacts +3. File System & Tags +4. Shares +5. Notifications +6. Users & Groups +7. User & Weather status +8. Etc. From a652123492b89065d57122825de505ea80226222 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Wed, 1 Nov 2023 18:01:43 +0200 Subject: [PATCH 2/2] refer to the supported ApiScopes Signed-off-by: Andrey Borysenko --- docs/tech_details/api/other_ocs.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/tech_details/api/other_ocs.rst b/docs/tech_details/api/other_ocs.rst index ae353f84..23773d4a 100644 --- a/docs/tech_details/api/other_ocs.rst +++ b/docs/tech_details/api/other_ocs.rst @@ -3,6 +3,11 @@ Other OCS APIs With AppAPI authentication it is possible for ExApps to use any other OCS APIs, that doesn't require OCP implementation: +.. note:: + + To access these APIs they have to be supported by AppAPI (see :ref:`api_scopes`), + and ExApp have to require granted access (in ``info.xml``) to them accordingly. + 1. Calendar 2. Contacts 3. File System & Tags @@ -10,4 +15,6 @@ With AppAPI authentication it is possible for ExApps to use any other OCS APIs, 5. Notifications 6. Users & Groups 7. User & Weather status -8. Etc. +8. Activities +9. Notes +10. Etc.