X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fpolicy-agent-api.rst;h=a65e61153402844c007cbc25494dc118e698aa1e;hb=refs%2Fchanges%2F24%2F3224%2F3;hp=8a46fc711f07ec5d1027d0bd8e24060b0470b732;hpb=25f05019da2af154f169c147dcf12895acaea159;p=nonrtric.git diff --git a/docs/policy-agent-api.rst b/docs/policy-agent-api.rst index 8a46fc71..a65e6115 100644 --- a/docs/policy-agent-api.rst +++ b/docs/policy-agent-api.rst @@ -115,7 +115,7 @@ PUT Service created. 400: - Something went wrong with the service registration. + The ServiceRegistrationInfo is not accepted. **Examples:** @@ -243,8 +243,8 @@ DELETE /services/keepalive ~~~~~~~~~~~~~~~~~~~ -POST -++++ +PUT ++++ Heart beat from a service. @@ -268,7 +268,7 @@ POST Call: :: - curl -X POST "http://localhost:8081/services/keepalive?name=existing" + curl -X PUT "http://localhost:8081/services/keepalive?name=existing" Result: 200: :: @@ -277,7 +277,7 @@ POST Call: :: - curl -X POST "http://localhost:8081/services/keepalive?name=nonexistent" + curl -X PUT "http://localhost:8081/services/keepalive?name=nonexistent" Result: 404: :: @@ -741,7 +741,7 @@ PUT Near |nbh| RT |nbsp| RIC or policy type is not found. 423: - Near |nbh| RT |nbsp| RIC is locked. + Near |nbh| RT |nbsp| RIC is not operational. **Examples:** @@ -794,6 +794,9 @@ DELETE 404: Policy is not found. + 423: + Near |nbh| RT |nbsp| RIC is not operational. + **Examples:** Call: :: @@ -904,7 +907,7 @@ GET **Parameters:** - managedElementId: (*Optional*) + managedElementId: (*Required*) The ID of the Managed Element. **Responses:**