.. Social Service Client documentation master file, created by sphinx-quickstart on Tue Aug 2 16:11:12 2022. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. 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 ================== 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. `JSON Web Token (JWT) Access token `_ are used for both authentication and authorization. Obtain your Bearer token here: https://dev.d4science.org/how-to-access-resources Java Client ================== The methods of the Web Service can be called by writing your own REST client application or by using already existing REST client plugins. We provide the following Java Client out-of-the-box. .. TIP:: If you're coding in Java it is recommended that you use this Java Client. **Maven Coordinates** .. code:: xml org.gcube.data-catalogue gcat-client [2.2.0, 3.0.0-SNAPSHOT) **Methods Result** The service exposes `its methods <../api-docs/index.html>`_ using a standard naming approach. Moreover, they accept (in case of http POST/PUT methods) JSON objects. .. IMPORTANT:: The result of all methods is always a JSON object as per below: .. code:: javascript { .... } *Inputs are automatically validated before the request is served.* **Usage examples** - Example 1 .. code:: java import org.gcube.gcat.client.Item; // count item number Item item = new Item(); int count = item.count(); ...