From 61a08c44a94320dead9f4a54756fb5b3c5c4c1e3 Mon Sep 17 00:00:00 2001 From: Adrien Morais <amorais@centreon.com> Date: Wed, 4 Apr 2018 12:22:12 +0200 Subject: [PATCH] fix(doc): Add documentation on API Rest permissions REFS: MON-2421 --- doc/en/api/api_rest/index.rst | 14 ++++++++++++-- doc/fr/api/api_rest/index.rst | 13 +++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/doc/en/api/api_rest/index.rst b/doc/en/api/api_rest/index.rst index ceb9c61903..844efd45db 100644 --- a/doc/en/api/api_rest/index.rst +++ b/doc/en/api/api_rest/index.rst @@ -17,8 +17,18 @@ Permissions ----------- To perform API calls using a specific Centreon user, you need permissions to do so. -You have to edit user settings on the menu **Configuration > Users > Contacts/Users**, -edit user and on second tab check box **Reach API**. + +There are two types of permission: + +You can give access to the configuration for a specific Centreon user. To do so you have +to edit user settings on the menu **Configuration > Users > Contacts/Users**, +edit user and on second tab check box **Reach API Configuration**. + +You can give access to the realtime for a specific Centreon user. To do so you have +to edit user settings on the menu **Configuration > Users > Contacts/Users**, +edit user and on second tab check box **Reach API Realtime**. + +If you want both then check **both** checkboxes Authentication diff --git a/doc/fr/api/api_rest/index.rst b/doc/fr/api/api_rest/index.rst index 3ee9775567..88cf723750 100644 --- a/doc/fr/api/api_rest/index.rst +++ b/doc/fr/api/api_rest/index.rst @@ -17,9 +17,18 @@ Permissions ----------- To perform API calls using a specific Centreon user, you need permissions to do so. -You have to edit user settings on the menu **Configuration > Users > Contacts/Users**, -edit user and on second tab check box **Reach API**. +There are two types of permission: + +You can give access to the configuration for a specific Centreon user. To do so you have +to edit user settings on the menu **Configuration > Users > Contacts/Users**, +edit user and on second tab check box **Reach API Configuration**. + +You can give access to the realtime for a specific Centreon user. To do so you have +to edit user settings on the menu **Configuration > Users > Contacts/Users**, +edit user and on second tab check box **Reach API Realtime**. + +If you want both then check **both** checkboxes Authentication ---------------- -- GitLab