Commit 912db8bd authored by Samir Medjiah's avatar Samir Medjiah

SOL002_100 POST Method (on "Thresholds") description, request and response updated

parent 7ab12a36
......@@ -577,10 +577,13 @@ paths:
post:
description: >
The POST method can be used by the client to create a threshold.
As the result of successfully executing this method, a new
"Individual threshold" resource as defined in clause 6.4.6 shall
have been created.
parameters:
- name: CreateThresholdRequest
description: >
Request parameters to create a threshold resource.
Request parameters to create a new "Individual threshold" resource.
in: body
required: true
schema:
......@@ -604,10 +607,11 @@ paths:
description: >
201 CREATED
A threshold was created successfully. The response body shall
contain a representation of the created threshold resource.
Shall be returned when a threshold has been created successfully.
The response body shall contain a representation of the created
"Individual threshold" resource.
The HTTP response shall include a "Location" HTTP header that
contains the resource URI of the created threshold resource.
contains the resource URI of the created resource.
headers:
Content-Type:
description: The MIME type of the body of the response.
......
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