Merge "NONRTRIC-955: Fix unit test 404 issue"
[sim/a1-interface.git] / docs / callout-server.rst
index d7e139d..4be73ff 100755 (executable)
@@ -8,6 +8,11 @@
 .. |nbh| unicode:: 0x2011
    :trim:
 
+.. |yaml-icon| image:: ./images/yaml_logo.png
+                  :width: 40px
+
+.. _calloutserver:
+
 =====================
 Callout Server
 =====================
@@ -15,13 +20,19 @@ Callout Server
 API Documentation
 =================
 
-The O-RAN SC external server is an extension for Near-RealTime RIC simulator. It creates an external web server building RESTful API. It is capable of recieving Rest calls from the northbound simulator version STD_2.0.0 and responses back to it.
+The O-RAN SC external call-out server allows behavioral extensions to be added to the A1 Simulator. It creates an external call-out server, which provides a RESTful API. A1 Policy operations, for some A1 Policy Types, can then be redirected to the external call-out server, supporting supplemental simulator behavior for those A1 Policy Types. 
+
+**Note:** call-out server functionality is only available for *'STD_2.0.0'* version simulators.
+
+The external call-out server exposes a 'Callout server API' REST API. This internal API is invoked directly by the A1 Simulator, and is not intended to be used by any other client.  The 'Callout Server API' is documented in `Callout Server API <./EXT_SRV_api.html>`_ and in OpenAPI YAML format:
 
-The details of API definitions are being explained below:
+.. csv-table::
+   :header: "API name", "|yaml-icon|"
+   :widths: 10,5
 
-.. Generates content from EXT_SRV_api.yaml
-.. openapi:: ../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml
+   "Callout Server API", ":download:`link <../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml>`"
 
+External call-out servers also expose an 'Admin API' to manipulate the behavior of the call-out server itself. The 'Callout Server Admin API' is documented below: 
 
 Admin Functions
 ================
@@ -99,7 +110,7 @@ It is possible to manipulate the response of all operations on the external serv
 POST
 ++++
 
-Force a specific response code for the all (the next) external server operation. Unless it is reset, it will always respond the same response code back.
+Force a specific response code for the all (the next) external server operation. Unless it is reset, it will always send the same response code back.
 
 **URL path:**