From 8252055126fb1cac30e102b09735fc75688dba7a Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 21 Sep 2022 11:24:15 +0200 Subject: [PATCH] Trying to fix headers --- docs/index.rst | 65 ++++++++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 28 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 7e92be3..205bcaf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,18 +1,20 @@ -Welcome to gCat documentation! -================================================= +############################# +Welcome to gCat documentation +############################# gCat is a RESTful application which exposes operations ... See the available REST-API on `its API docs <../api-docs/index.html>`_. -Base URL -================== +********** + Base URL +********** In the production environment, its current value is https://api.d4science.org/gcat - +************* Authorization -================== +************* D4Science adopts state-of-the-art industry standards for authentication and authorization. Specifically, the implementation fully adopts `OIDC (OpenID Connect) `_ for authentication and UMA 2 (User-Managed Authorization) for authorization flows. @@ -20,19 +22,23 @@ Specifically, the implementation fully adopts `OIDC (OpenID Connect) `_ - -Uncommon HTTP Methods: -''''''''' +Uncommon HTTP Methods +********************* * PATCH method allows to perform a differential update (i.e. an update which provides only the differences and not the whole new representation); * PURGE method is not a standard but is widely used in service which requires this action @@ -138,8 +145,9 @@ Uncommon HTTP Methods: gCat provides support for this method, but to support a wider range of clients, it also provides the Purge action via *DELETE* with the additional get parameter ``purge=true``. +============ Content-Type ------------------- +============ Any request must contain an indication of the interesting content type. @@ -159,9 +167,9 @@ The service accepts and returns only JSON objects. `Profile Collection <../api-docs/resource\_Profile.html>`_ instead can be manipulated in XML only. - +=========== Collections ------------------- +=========== The following collections are available to any user. Catalogue-Editor or above can invoke Non-safe methods only. @@ -185,8 +193,9 @@ The following collections are available for Catalogue-Admins or above only: An overview of the available collections is available at `<../api-docs/index.html>`_; +===== Roles ------------------- +===== Any user has one or more roles in the catalogue. The VRE Manager can only assign roles. @@ -216,9 +225,9 @@ Catalogue-Moderator: .. TIP:: Please note that not all catalogues are moderated. - +******************** Moderated Catalogues -================== +******************** Any catalogues can be declared as moderated. This means that, a Catalogue-Moderator must approve any submitted items to make them available to the other users of the catalogue. @@ -341,9 +350,9 @@ The following table summarises the addressee of the notification for any action. - +*********** Java Client -================== +*********** We provide the following Java Client out-of-the-box.