Commit 86c33a5f authored by Samir Medjiah's avatar Samir Medjiah
Browse files

SOL002_125 PATCH Method (on "Alarm") response updated

parent a2558e1e
...@@ -318,9 +318,9 @@ paths: ...@@ -318,9 +318,9 @@ paths:
description: > description: >
200 OK 200 OK
The request was accepted and completed. The response body shall Shall be returned when the request was accepted and completed.
contain attribute modifications for an ‘Individual alarm’ The response body shall contain attribute modifications for
resource. an "Individual alarm" resource.
headers: headers:
Content-Type: Content-Type:
description: The MIME type of the body of the response. description: The MIME type of the body of the response.
...@@ -358,14 +358,24 @@ paths: ...@@ -358,14 +358,24 @@ paths:
description: > description: >
409 CONFLICT 409 CONFLICT
Error: The operation cannot be executed currently, due to a conflict with the state of Shall be returned upon the following error: The operation cannot be executed
the "Individual alarm" resource. currently, due to a conflict with the state of the "Individual alarm" resource.
Typically, this is due to the fact that the alarm is already in the state that is requested Typically, this is due to the fact that the alarm is already in the state that
to be set (such as trying to acknowledge an already-acknowledged alarm). is requested to be set (such as trying to acknowledge an already-acknowledged
The response body shall contain a ProblemDetails structure, in which the "detail" attribute shall alarm).
convey more information about the error. The response body shall contain a ProblemDetails structure, in which the
"detail" attribute shall convey more information about the error.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/409" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/409"
412: 412:
description: >
412 PRECONDITION FAILED
ErrorShall be returned upon the following error: A precondition given in an
HTTP request header is not fulfilled.
Typically, this is due to an ETag mismatch, indicating that the resource was
modified by another entity.
The response body should contain a ProblemDetails structure, in which the
"detail" attribute should convey more information about the error.
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/412" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/412"
416: 416:
$ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416" $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/416"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment