- - GET all policy identities http://localhost:8085/A1-P/v1/policies
- - PUT a policy instance(create or update it): http://localhost:8085/A1-P/v1/policies/{policyId}
- - GET a policy: http://localhost:8085/A1-P/v1/policies/{policyId}
- - DELETE a policy instance: http://localhost:8085/A1-P/v1/policies/{policyId}
- - GET a policy status: http://localhost:8085/A1-P/v1/policies/{policyid}
-<br>Swagger UI at:`http://localhost:8085/A1-P/v1/ui/`
-
-URIs for admin operations:
- - GET, a basic healthcheck: http://localhost:8085/
- - GET, a list of all supported interfaces: http://localhost:8085/container\_interfaces
- - POST, delete all policy instances: http://localhost:8085/deleteinstances
- - POST, full reset: http://localhost:8085/deleteall
- - POST, force a specific response code for an A1 operation: http://localhost:8085/forceresponse?responsecode=<http-code>
-- POST, force delayed response of all A1 operations: http://localhost:8085/forcedelay?delay=<seconds>
- - PUT, set status and optional reason: http://localhost:8085/status?status=<status>&reason=<reason>
- - POST, send status for policy: http://localhost:8085/sendstatus?policyid=<policyid>
- - GET a counter: http://localhost:8085/counter/<counter-name>
- (counter-name: 'num\_instances', 'num\_types'(always 0) or 'interface')
-
-
-# Supported operations in simulator 1.1.x-alpha.2
-
- The available requests and the addresses are currently:
- - GET all policy identities (respectively for a policy type if query parameter used): http://localhost:8085/A1-P/v1/policies?policyTypeId={policyTypeId}
- - PUT a policy instance(create or update it): http://localhost:8085/A1-P/v1/policies/{policyId}?policyTypeId={policyTypeId}
- - GET a policy: http://localhost:8085/A1-P/v1/policies/{policyId}
- - DELETE a policy instance: http://localhost:8085/A1-P/v1/policies/{policyId}
- - GET a policy status: http://localhost:8085/A1-P/v1/policystatus
- - GET all policy types: http://localhost:8085/A1-P/v1/policytypes
- - GET the schemas for a policy type: http://localhost:8085/A1-P/v1/policytypes/{policyTypeId}
-
-Nota Bene: It could happen that this page is not updated as soon as the yaml file is. The yaml file can be found under /near-rt-ric-simulator/a1-openapi.yaml.
-
-Additionally, there are requests that are defined in main.py as an administrative API. The goal is to handle information that couldn't be handled using the A1 interface. The available requests and the addresses are currently:
- - GET, a basic healthcheck: http://localhost:8085/
- - PUT a policy type: http://localhost:8085/policytypes/{policyTypeId}
- - DELETE a policy type: http://localhost:8085/policytypes/{policyTypeId}
- - DELETE all policy instances: http://localhost:8085/deleteinstances
- - DELETE all policy types: http://localhost:8085/deletetypes
- - PUT a status to a policy instance with an enforceStatus parameter only: http://localhost:8085/{policyId}/{enforceStatus}
- - PUT a status to a policy instance with both enforceStatus and enforceReason: http://localhost:8085/{policyId}/{enforceStatus}/{enforceReason}
-
-The backend server publishes live API documentation at the URL `http://localhost:8085/A1-P/v1/ui/`
+
+| Function | Path and parameters |
+| --------------------- | ------------------- |
+| GET all policy identities | http://localhost:8085/A1-P/v1/policies |
+| PUT a policy instance(create or update it) | http://localhost:8085/A1-P/v1/policies/{policyId} |
+| GET a policy | http://localhost:8085/A1-P/v1/policies/{policyId} |
+| DELETE a policy instance | http://localhost:8085/A1-P/v1/policies/{policyId} |
+| GET a policy status | http://localhost:8085/A1-P/v1/policies/{policyid}/status |
+
+Swagger UI at: http://localhost:8085/A1-P/v1/ui/
+
+For the documentation of the admin API, see [A1 Standard 1.1.3](https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/latest/simulator-api.html#a1-standard-1-1-3).
+
+## URIs for admin operations:
+
+| Function | Path and parameters |
+| --------------------- | ------------------- |
+| GET, a basic healthcheck | http://localhost:8085/ |
+| GET, a list of all supported interfaces | http://localhost:8085/container_interfaces |
+| POST, delete all policy instances | http://localhost:8085/deleteinstances |
+| POST, full reset | http://localhost:8085/deleteall |
+| POST, force a specific response code for an A1 operation | http://localhost:8085/forceresponse?code=<http-code> |
+| POST, force delayed response of all A1 operations | http://localhost:8085/forcedelay?delay=<seconds> |
+| PUT, set status and optional reason | http://localhost:8085/status?status=<status>[&reason=<reason>] |
+| POST, send status for policy | http://localhost:8085/sendstatus?policyid=<policyid> |
+| GET a counter <br> (counter-name: 'num_instances', 'num_types'(always 0), 'interface' or 'remote_hosts') | http://localhost:8085/counter/<counter-name> |
+| Turn on HTTP header and payload logging | http://localhost:8085/payload_logging/on |
+| Turn off HTTP header and payload logging | http://localhost:8085/payload_logging/off |
+
+# Supported operations in simulator A1 Standard 2.0.0
+
+For the complete YAML specification, see [STD_A1.yaml](../near-rt-ric-simulator/api/STD_2.0.0/STD_A1.yaml).
+
+## URIs for A1:
+
+| Function | Path and parameters |
+| --------------------- | ------------------- |
+| GET all policy identities | http://localhost:8085/A1-P/v2/policies |
+| PUT a policy instance(create or update it) | http://localhost:8085/A1-P/v2/policies/{policyId} |
+| GET a policy | http://localhost:8085/A1-P/v2/policies/{policyId} |
+| DELETE a policy instance | http://localhost:8085/A1-P/v2/policies/{policyId} |
+| GET a policy status | http://localhost:8085/A1-P/v2/policies/{policyid}/status |
+
+Swagger UI at: http://localhost:8085/A1-P/v2/ui/
+
+For the documentation of the admin API, see [A1 Standard 2.0.0](https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/latest/simulator-api.html#a1-standard-2-0-0).
+
+## URIs for admin operations:
+
+| Function | Path and parameters |
+| --------------------- | ------------------- |
+| GET, a basic healthcheck | http://localhost:8085/ |
+| GET, a list of all supported interfaces | http://localhost:8085/container_interfaces |
+| POST, delete all policy instances | http://localhost:8085/deleteinstances |
+| POST, full reset | http://localhost:8085/deleteall |
+| POST, force a specific response code for an A1 operation | http://localhost:8085/forceresponse?code=<http-code> |
+| POST, force delayed response of all A1 operations | http://localhost:8085/forcedelay?delay=<seconds> |
+| PUT, set status and optional reason | http://localhost:8085/status?status=<status>[&reason=<reason>] |
+| POST, send status for policy | http://localhost:8085/sendstatus?policyid=<policyid> |
+| GET a counter <br> (counter-name: 'num_instances', 'num_types'(always 0), 'interface' or 'remote_hosts') | http://localhost:8085/counter/<counter-name> |
+| Turn on HTTP header and payload logging | http://localhost:8085/payload_logging/on |
+| Turn off HTTP header and payload logging | http://localhost:8085/payload_logging/off |